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

Name

Description

id

zero‐based argument index

Created with MrDocs