Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

atomic::store Method

Stores a specified value.

void atomic<Ty>::store(
   Ty Value,
   memory_order Order = memory_order_seq_cst
) volatile _NOEXCEPT;
void atomic<Ty>::store(
   Ty Value,
   memory_order Order = memory_order_seq_cst
) _NOEXCEPT;

Value

A Ty object.

Order

A memory_order constraint.

This method atomically stores Value in *this, within the memory constraints that are specified by Order.

Header: atomic

Namespace: std

Show:
© 2014 Microsoft