[#BloombergLP-bslfmt-basic_format_args-get]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/basic_format_args.adoc[basic&lowbar;format&lowbar;args]::get
:relfileprefix: ../../../
:mrdocs:

Return the argument held at the position given by the specified `pos`&period; If `pos &gt;&equals; size()` then a default&hyphen;constructed `basic&lowbar;format&lowbar;arg` is returned&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslfmt/basic_format_arg-0d.adoc[basic&lowbar;format&lowbar;arg&lt;t&lowbar;CONTEXT&gt;]
get(size&lowbar;t pos) const noexcept;
----

== Return Value

the argument at `pos`, or a default&hyphen;constructed argument if out of range

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pos*
| zero&hyphen;based index of the argument to retrieve
|===


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