std::atomic<T>::load
Min standard notice:
Atomically loads and returns the current value of the atomic variable. Memory is affected according to the value of order.
# Declarations
T load( std::memory_order order
= std::memory_order_seq_cst ) const noexcept;
(since C++11)
T load( std::memory_order order
= std::memory_order_seq_cst ) const volatile noexcept;
(since C++11)
# Parameters
order: memory order constraints to enforce
# Return value
The current value of the atomic variable.