BloombergLP::bdlt::Literal_SpecifierFormatter::formatNextSpecifier

Format the next recognized specifier character from spec to outIt.

Synopsis

Declared in <bdlt_literal_specifierformatter.h>

template<class t_ITERATOR>
bool
formatNextSpecifier(
    StringView* spec,
    t_ITERATOR* outIt) const;

Description

Examine the front character of the specified spec. If that character matches any of those recognized by this specifier formatter, perform the sort of output indicated by that character off of spec and return true, otherwise return false.

Return Value

true if a recognized specifier was formatted

Parameters

NameDescription
specinput specifier string view to format
outItoutput iterator to receive the formatted character