[#BloombergLP-bslfmt-basic_format_context-arg-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/basic_format_context.adoc[basic_format_context]::arg :relfileprefix: ../../../ :mrdocs: Return the formatting argument at zero‐based index `id`. == Synopsis Declared in `<bslfmt_format_context.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslfmt/basic_format_context.adoc[basic_format_context<t_OUT, t_CHAR>::Arg] arg(size_t id) const noexcept; ---- == Description If `id` is not less than the number of contained arguments, a default‐constructed `basic_format_arg` object is returned. == Return Value the argument at position `id` == Parameters [cols="1,4"] |=== | Name| Description | *id* | zero‐based argument index |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#