tmp/tmpw6g44f5h/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### General <a id="locale.categories.general">[[locale.categories.general]]</a>
|
| 2 |
+
|
| 3 |
+
Each of the standard categories includes a family of facets. Some of
|
| 4 |
+
these implement formatting or parsing of a datum, for use by standard or
|
| 5 |
+
users’ iostream operators `<<` and `>>`, as members `put()` and `get()`,
|
| 6 |
+
respectively. Each such member function takes an `ios_base&` argument
|
| 7 |
+
whose members `flags()`, `precision()`, and `width()`, specify the
|
| 8 |
+
format of the corresponding datum [[ios.base]]. Those functions which
|
| 9 |
+
need to use other facets call its member `getloc()` to retrieve the
|
| 10 |
+
locale imbued there. Formatting facets use the character argument `fill`
|
| 11 |
+
to fill out the specified width where necessary.
|
| 12 |
+
|
| 13 |
+
The `put()` members make no provision for error reporting. (Any failures
|
| 14 |
+
of the OutputIterator argument can be extracted from the returned
|
| 15 |
+
iterator.) The `get()` members take an `ios_base::iostate&` argument
|
| 16 |
+
whose value they ignore, but set to `ios_base::failbit` in case of a
|
| 17 |
+
parse error.
|
| 18 |
+
|
| 19 |
+
Within subclause [[locale.categories]] it is unspecified whether one
|
| 20 |
+
virtual function calls another virtual function.
|
| 21 |
+
|