BloombergLP::bslfmt::FormatSpecificationParser::alternativeFlag

Return whether an alternative processing flag was parsed.

Synopsis

Declared in <bslfmt_formatspecificationparser.h>

constexpr
bool
alternativeFlag() const;

Description

Return true if parsing detected an alternative processing flag in the specification, otherwise return false. If parse has not previously been called throw a format_error exception.

Return Value

true if the alternative flag was present, else false