Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the stored value in an atomic object, within a specified memory_order.
template <class Ty>
inline Ty atomic_load_explicit(
const volatile atomic<Ty> *Atom,
memory_order Order
) _NOEXCEPT;
template <class Ty>
inline Ty atomic_load_explicit(
const atomic<Ty> *Atom,
memory_order Order
) _NOEXCEPT;
Parameters
Atom
A pointer to an atomic object that contains a value of type Ty.Order
A memory_order. Do not use memory_order_release or memory_order_acq_rel.
Return Value
The retrieved value that is stored in Atom.
Requirements
Header: atomic
Namespace: std