|
BDE 4.39.x Production Release
|
Provide a formatter customization for bool type.
Provide a formatter customization for bool type
boolbsl_format.h
This component provides partial specializations of bsl::formatter catering for bool type.
This header is not intended to be included directly. Please include <bsl_format.h> to be able to use the bsl::formatter for bool type.
In this section we show the intended use of this component.
We do not expect most users of bsl::format to interact with this type directly and instead use bsl::format or bsl::vformat, so this example is necessarily unrealistic.
Suppose we want to test this formatter's ability to format a boolean with defined alignment and padding.