BloombergLP::bdlt::Formatter

Parse format specifications and format values using the specified tt_SPECIFIER_FORMATTER template class.

Synopsis

Declared in <bdlt_formatter.h>

template<
    template<typename> typename tt_SPECIFIER_FORMATTER,
    class t_CHAR>
class Formatter;

Description

Each type to be formatted has its own specifier formatter class. The t_CHAR template parameter must be char or wchar_t.

Member Functions

NameDescription
Formatter [constructor]Default-construct an object.
format Write value formatted to formatContext.out().
parse Parse the input and arguments specified by context and return an iterator pointing after the end of parsed input.