Atomically load the current value of the std::experimental::atomic_weak_ptr
instance.
weak_ptr<T> load( memory_order order = memory_order_seq_cst) const noexcept;
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 <experimental/atomic>
std::experimental::atomic_weak_ptr
class template
std::experimental::atomic_weak_ptr
members
std::memory_order
enumeration