[#BloombergLP-bslfmt-basic_format_parse_context-check_arg_id] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/basic_format_parse_context.adoc[basic_format_parse_context]::check_arg_id :relfileprefix: ../../../ :mrdocs: Check that the specified `id` is a valid argument index. If the indexing mode is unset, the indexing mode is set to `e_MANUAL`. If the indexing mode is `e_AUTOMATIC`, caused by a previous call to `next_arg_id` then an exception of type `format_error` is thrown. If `id` is not less than the number of arguments then an exception of type `format_error` is thrown. == Synopsis Declared in `<bslfmt_formatparsecontext.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr void check_arg_id(size_t id); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#