Base class for integral and integral-like bsl::formatter specializations.
Declared in <bslfmt_formatterintegralbase.h>
template<
class t_VALUE,
class t_CHAR>
struct FormatterIntegralBase;
This struct is a base class for bsl::formatter specializations for integer types as well as for other types that can be represented as integer (i.e. bool, character and pointer types). This is a private class and should not be used directly. The formatting of variables of a certain type is performed using the corresponding classes inherited from this one. Accordingly, the auxiliary functions used are declared protected.
| Name | Description |
|---|---|
formatPrefix | Write the output prefix for value into prefixStorage. |
formatValue | Write the string representation of value into valueStorage. |
outputValue | Copy the formatted prefix and value into formatContext. |
parse | Parse the specified parseContext and return an iterator, pointing to the beginning of the format string. |
specification | Return a reference to the specification of this formatter. |
| Name | Description |
|---|---|
FormatterPointer_Nullptr | This struct is a specialization of the bsl::formatter template for the bsl::nullptr_t. |