Increment operators
Synopses
Declared in <bsls_atomic.h>
Atomically increment the value of this object by 1 and return the resulting value.
unsigned int
operator++();
Atomically increment the value of this object by 1 and return the value prior to being incremented.
unsigned int
operator++(int postfix);
Return Value
-
value of this object after the operation
-
value of this object prior to the operation
Parameters
Name |
Description |
postfix |
unused parameter distinguishing the postfix operator |
Created with MrDocs