This class serves as a namespace for some static functions that are useful in creating specializations of bsl::formatter to support bsl::format.

Synopsis

Declared in <bdlt_formatutil.h>

template<class t_CHAR>
class FormatUtil;

Type Aliases

Name

Description

StringView

Alias for bsl::basic_string_view<t_CHAR>.

Static Member Functions

Name

Description

writeSecondFraction

Write the fraction‐of‐second digits to out.

writeZeroPaddedDigits

Write zero‐padded decimal digits to out.

Created with MrDocs