E.V.E
v2022.03.00

◆ write

eve::write = {}
inlineconstexpr

Callable object writing single value from memory.

Required header: #include <eve/module/core.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()(V v,Ptr p) const noexcept

Parameters

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