BloombergLP::bsls::AtomicInt::operator++

Increment operators

Synopses

Declared in <bsls_atomic.h>

Atomically increment the value of this object by 1 and return the resulting value.

int
operator++();
» more...

Atomically increment the value of this object by 1 and return the value prior to being incremented.

int
operator++(int postfix);
» more...

Return Value

  • value of this object after the operation
  • value of this object prior to the operation

Parameters

NameDescription
postfixunused parameter distinguishing the postfix operator