BloombergLP::bslfmt::StandardFormatSpecification::zeroPaddingFlag

Return whether zero padding was requested.

Synopsis

Declared in <bslfmt_standardformatspecification.h>

constexpr
bool
zeroPaddingFlag() const;

Description

Return a boolean indicating if zero padding was requested unless the status is not at least e_STATE_PARSED in which case throw a bsl::format_error exception indicating that error.

Return Value

true if zero padding was requested, and false otherwise