[#BloombergLP-bslfmt-basic_format_parse_context-next_arg_id] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/basic_format_parse_context.adoc[basic_format_parse_context]::next_arg_id :relfileprefix: ../../../ :mrdocs: Return the index of the next‐unused argument. If the indexing mode is unset, the indexing mode is set to `e_AUTOMATIC`. If the indexing mode is `e_MANUAL`, caused by a previous call to `check_arg_id` then an exception of type `format_error` is thrown. If there are no remaining unused arguments then an exception of type `format_error` is thrown. == Synopsis Declared in `<bslfmt_formatparsecontext.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr size_t next_arg_id(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#