E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches

◆ read

eve::read = functor<read_t>
inlineconstexpr

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::read is to be used.

Members Functions

Member Effect
operator() Performs a single read from memory

template<typename Ptr> auto operator()(Ptr p) const noexcept

Parameters

ptr: Memory to read from.

Return value

Returns a signle value read at the memory location specified by ptr. If ptr is equivalent to nullptr, the behavior is undefined.