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