Export (0) Print
Expand All

atomic_load_explicit Function

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;

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.

The retrieved value that is stored in Atom.

Header: atomic

Namespace: std

Show:
© 2014 Microsoft