BloombergLP::bslfmt::basic_format_arg<basic_format_context<t_OUT, t_CHAR>>::handle::format

Format the contained value according to pc into fc.

Synopsis

Declared in <bslfmt_format_arg.h>

void
format(
    basic_format_parse_context<t_CHAR>& pc,
    basic_format_context<t_OUT, t_CHAR>& fc) const;

Description

Format the contained value using a formatter for the template parameter t_TYPE used in the construction of this object. The constructed formatter will parse the specification in the specified pc context and write the output to the specified fc context.

Parameters

NameDescription
pcparse context supplying the format specification
fcformat context receiving the formatted output