BloombergLP::bslfmt::basic_format_context

A format context for use by formatter::format() partial specialization.

Synopsis

Declared in <bslfmt_format_context.h>

template<
    class t_OUT,
    class t_CHAR>
class basic_format_context;

Description

It provides access to the output iterator for writing the formatted value and access to all formatting arguments.

Type Aliases

NameDescription
char_type This typedef is an alias for the character type t_CHAR.
formatter_type Alias for bsl::formatter specialized on t_TYPE and t_CHAR.
iterator This typedef is an alias for the output iterator type t_OUT.

Member Functions

NameDescription
advance_to Update the contained iterator to that specified by it.
arg Return the formatting argument at zero-based index id.
out Return (by value) the contained output iterator.

Friends

NameDescription
BloombergLP::bslfmt::Format_ContextFactoryUtility factory for constructing basic_format_context objects.