BloombergLP::bslfmt::FormatSpecificationParser::zeroPaddingFlag

Return whether a zero padding flag was parsed.

Synopsis

Declared in <bslfmt_formatspecificationparser.h>

constexpr
bool
zeroPaddingFlag() const;

Description

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

Return Value

true if the zero-padding flag was present, else false