atomic::operator-= Operator
Subtracts a specified value from the stored value. Used only by integral and pointer specializations.
Ty atomic<Ty>::operator-=(
Ty Value
) volatile _NOEXCEPT;
Ty atomic<Ty>::operator-=(
Ty Value
) _NOEXCEPT;
Parameters
- Value
An integral or pointer value.
Return Value
A Ty object that contains the result of the subtraction.
Remarks
This operator uses the memory_order_seq_cstmemory_order.
Requirements
Header: atomic
Namespace: std