Share via


atomic::operator= Operator

Stores a specified value.

Ty operator=(
   Ty Val
) volatile _NOEXCEPT;
Ty operator=(
   Ty Val
) _NOEXCEPT;

Parameters

  • Val
    A Ty object.

Return Value

Returns Val.

Requirements

Header: atomic

Namespace: std

See Also

Reference

atomic Structure

<atomic>

atomic::store Method