BloombergLP::bsls::AtomicInt::subtract

Atomically subtract the specified value to this object and return the resulting value.

Synopsis

Declared in <bsls_atomic.h>

int
subtract(int value);

Return Value

value of this object after the subtraction

Parameters

NameDescription
valuevalue to subtract