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;

Value

An integral or pointer value.

A Ty object that contains the result of the subtraction.

This operator uses the memory_order_seq_cst memory_order.

Header: atomic

Namespace: std

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft