[#BloombergLP-bdlc-IndexClerk-nextNewIndex]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/IndexClerk.adoc[IndexClerk]::nextNewIndex
:relfileprefix: ../../../
:mrdocs:

Return the smallest index that has not yet been issued&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;indexclerk&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
nextNewIndex() const;
----

== Description

Return the smallest (non&hyphen;negative) index that has not been issued by this index clerk&period; Note that this function offers the client a &quot;peek&quot; at the next &quot;new&quot; index, but has no effect on the value of this index clerk&period;

== Return Value

smallest index not yet issued


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