Share via


atomic::operator Ty Operator

Retrieves the stored value in *this.

atomic<Ty>::operator Ty() const volatile _NOEXCEPT;
atomic<Ty>::operator Ty() const _NOEXCEPT;

Remarks

This operator applies the memory_order_seq_cstmemory_order.

Requirements

Header: atomic

Namespace: std

See Also

Reference

<atomic>

atomic Structure

atomic::load Method