Increment the specified count and return the new value. Instead of overflowing, when the value is sufficiently large, decrement the value so that large values repeat periodically.

Synopsis

Declared in <bsls_review.h>

static
int
updateCount(Count* count);

Created with MrDocs