BloombergLP::bslfmt::MockFormatContext::arg

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>

MockFormatContext<t_CHAR>::Arg
arg(size_t id) const noexcept;

Return Value

the argument at position id, or a default-constructed Arg

Parameters

NameDescription
idzero-based argument index