BloombergLP::bslfmt::basic_format_args

Access to a set of type-erased formatting arguments.

Synopsis

Declared in <bslfmt_format_args.h>

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

NameDescription
basic_format_args [constructor]Constructors
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

NameDescription
BloombergLP::bslfmt::Format_ArgsUtilUtility functions for manipulating format argument types.