Return the argument held at the position given by the specified pos. If pos >= size() then a default‐constructed basic_format_arg is returned.

Synopsis

Declared in <bslfmt_format_args.h>

basic_format_arg<t_CONTEXT>
get(size_t pos) const noexcept;

Return Value

the argument at pos, or a default‐constructed argument if out of range

Parameters

Name

Description

pos

zero‐based index of the argument to retrieve

Created with MrDocs