[#BloombergLP-bsls-Review-updateCount]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Review.adoc[Review]::updateCount
:relfileprefix: ../../../
:mrdocs:

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

== Synopsis

Declared in `&lt;bsls&lowbar;review&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
updateCount(xref:BloombergLP/bsls/Review/Count.adoc[Count]* count);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
