BloombergLP::bslfmt::basic_format_context::arg

Return the formatting argument at zero-based index id.

Synopsis

Declared in <bslfmt_format_context.h>

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

NameDescription
idzero-based argument index