[#BloombergLP-bslfmt-basic_format_args] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::basic_format_args :relfileprefix: ../../ :mrdocs: Access to a set of type‐erased formatting arguments. == Synopsis Declared in `<bslfmt_format_args.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_CONTEXT> class basic_format_args; ---- == Description This class provides access to formatting arguments. It should not be constructed directly but indirectly using one of the `make_format_args` or the `make_wformat_args` functions. Note that this type has reference semantics and users must ensure that this type does not outlive the arguments used in its construction. == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslfmt/basic_format_args/2constructor-0e.adoc[`basic_format_args`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bslfmt/basic_format_args/get.adoc[`get`] | Return the argument held at the position given by the specified `pos`. If `pos >= size()` then a default‐constructed `basic_format_arg` is returned. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bslfmt/Format_ArgsUtil.adoc[BloombergLP::bslfmt::Format_ArgsUtil]` | Utility functions for manipulating format argument types. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#