E.V.E  0.1-beta

◆ write

eve::write = {}
inlineconstexpr

Callable object writing single value from memory.

Required header: #include <eve/function/write.hpp>

operator* based interface used in the standard has notorious issues with proxy references. To prevent those issues when dealing with complex, potentially SIMD-aware iterators, eve::write is to be used.

Members Functions

Member Effect
operator() Performs a single write to memory

template<typename Ptr, scalar_value V> auto operator()(Ptr p, V v) const noexcept

Parameters

ptr: Memory to write to. v : scalar value to write.