atomic::load Method

atomic::load Method

 

Retrieves the stored value in *this, within the specified memory constraints.

Ty atomic::load(
   memory_order Order = memory_order_seq_cst
) const volatile _NOEXCEPT;
Ty atomic::load(
   memory_order Order = memory_order_seq_cst
) const _NOEXCEPT;

Order

A memory_order. Order must not be memory_order_release or memory_order_acq_rel.

The retrieved value that is stored in *this.

Requirements

Header: atomic

Namespace: std

Show:
© 2016 Microsoft