[#BloombergLP-bslfmt-basic_format_context-arg-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/basic_format_context.adoc[basic&lowbar;format&lowbar;context]::arg
:relfileprefix: ../../../
:mrdocs:

Return a `basic&lowbar;format&lowbar;arg` type for the argument in the position specified by `id`, with indexing starting at zero&period; If `id` is not less than the number of contained arguments, a default&hyphen;constructed `basic&lowbar;format&lowbar;arg` object is returned&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;format&lowbar;context&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslfmt/basic_format_context.adoc[basic&lowbar;format&lowbar;context&lt;t&lowbar;OUT, t&lowbar;CHAR&gt;::Arg]
arg(size&lowbar;t id) const noexcept;
----


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