atomic::operator|= Operator
Performs a bitwise or on a specified value and the stored value of *this. Used only by integral specializations.
atomic<Ty>::operator|= (
Ty Value
) volatile _NOEXCEPT;
atomic<Ty>::operator|= (
Ty Value
) _NOEXCEPT;
Parameters
- Value
A value of type Ty.
Return Value
The result of the bitwise or.
Remarks
This operator performs a read-modify-write operation to replace the stored value of *this with a bitwise or of Value and the current value that is stored in *this, within the constraints of the memory_order_seq_cstmemory_order constraints.
Requirements
Header: atomic
Namespace: std