Documentation Home >> Headers >> <atomic> Header >> std::atomic >> std::atomic Conversion Assignment Operator

Store a new value in *this.

BaseType operator=(BaseType b) volatile;

Effects:

this->store(b,std::memory_order_seq_cst).

Returns:

b.

Throws:

Nothing.

Header

#include <atomic>

See Also