A locale facet that formats values in UTF-8. It is parameterized on the locale to avoid the heavy <locale> include.
Declared in <fmt/format.h>
template<typename Locale>
class format_facet
: public Locale::facet
| Name | Description |
|---|---|
Locale::facet |
| Name | Description |
|---|---|
format_facet [constructor] | Constructs a format_facet initializing its separator, grouping and decimal point from loc's numeric punctuation. |
format_facet [constructor] | Constructs a format_facet with an explicit separator, grouping and decimal point. |
put | Writes val to out, formatted with specs and localized using this facet. |
| Name | Description |
|---|---|
id | The facet id used by Locale to identify this facet type. |
| Name | Description |
|---|---|
do_put [virtual] | Writes val to out, formatted with specs and localized using this facet. Overridden for std::locale to perform the actual formatting. |
| Name | Description |
|---|---|
format_facet<locale> | A locale facet that formats values in UTF-8. It is parameterized on the locale to avoid the heavy <locale> include. |