[locale.categories.general]

# 28 Text processing library [[text]](./#text)

## 28.3 Localization library [[localization]](localization#locale.categories.general)

### 28.3.4 Standard locale categories [[locale.categories]](locale.categories#general)

#### 28.3.4.1 General [locale.categories.general]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L1282)

Each of the standard categories includes a family of facets[.](#1.sentence-1)

Some of these implement formatting or parsing of a datum,
for use by standard or users' iostream operators << and >>,
as members put() and get(), respectively[.](#1.sentence-2)

Each such member function takes anios_base& argument whose membersflags(),precision(),
andwidth(),
specify the format of the corresponding datum ([[ios.base]](ios.base "31.5.2 Class ios_­base"))[.](#1.sentence-3)

Those functions which need to use other facets call its member getloc() to retrieve the locale imbued there[.](#1.sentence-4)

Formatting facets use the character argument fill to fill out the specified width where necessary[.](#1.sentence-5)

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L1303)

The put() members make no provision for error reporting[.](#2.sentence-1)

(Any failures of the OutputIterator argument can be extracted from
the returned iterator[.](#2.sentence-2))

The get() members take an ios_base​::​iostate& argument
whose value they ignore,
but set to ios_base​::​failbit in case of a parse error[.](#2.sentence-3)

[3](#3)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L1311)

Within [[locale.categories]](locale.categories "28.3.4 Standard locale categories") it is unspecified whether
one virtual function calls another virtual function[.](#3.sentence-1)
