[#BloombergLP-bslfmt-MockParseContext-next_arg_id]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/MockParseContext.adoc[MockParseContext]::next&lowbar;arg&lowbar;id
:relfileprefix: ../../../
:mrdocs:

Enter automatic indexing mode and return the next argument index&period; Throw `bslfmt&colon;&colon;format&lowbar;error` if this object has already entered manual indexing mode&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;mockparsecontext&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
size&lowbar;t
next&lowbar;arg&lowbar;id();
----


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