Atomically load the current value of the std::atomic
instance.
T* load( memory_order order = memory_order_seq_cst) const volatile;
The supplied order
must be one of std::memory_order_relaxed
,
std::memory_order_acquire
, std::memory_order_consume
or
std::memory_order_seq_cst
Atomically loads the value stored in *this
.
The value stored in *this
at the point of the call.
Nothing.
This is an atomic load operation for the memory location comprising
*this
.
#include <atomic>