[#BloombergLP-bslfmt-MockFormatContext-arg-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/MockFormatContext.adoc[MockFormatContext]::arg :relfileprefix: ../../../ :mrdocs: Return the argument with the specified `id` or the default constructed object if there is no argument with such `id`. == Synopsis Declared in `<bslfmt_mockformatcontext.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslfmt/MockFormatContext/Arg-03.adoc[MockFormatContext<t_CHAR>::Arg] arg(size_t id) const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#