tmp/tmpjlqib4so/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### General <a id="category.numeric.general">[[category.numeric.general]]</a>
|
| 2 |
+
|
| 3 |
+
The classes `num_get<>` and `num_put<>` handle numeric formatting and
|
| 4 |
+
parsing. Virtual functions are provided for several numeric types.
|
| 5 |
+
Implementations may (but are not required to) delegate extraction of
|
| 6 |
+
smaller types to extractors for larger types.[^11]
|
| 7 |
+
|
| 8 |
+
All specifications of member functions for `num_put` and `num_get` in
|
| 9 |
+
the subclauses of [[category.numeric]] only apply to the
|
| 10 |
+
specializations required in Tables [[tab:locale.category.facets]] and
|
| 11 |
+
[[tab:locale.spec]] [[locale.category]], namely `num_get<char>`,
|
| 12 |
+
`num_get<wchar_t>`, `num_get<C, InputIterator>`, `num_put<char>`,
|
| 13 |
+
`num_put<wchar_t>`, and `num_put<C, OutputIterator>`. These
|
| 14 |
+
specializations refer to the `ios_base&` argument for formatting
|
| 15 |
+
specifications [[locale.categories]], and to its imbued locale for the
|
| 16 |
+
`numpunct<>` facet to identify all numeric punctuation preferences, and
|
| 17 |
+
also for the `ctype<>` facet to perform character classification.
|
| 18 |
+
|
| 19 |
+
Extractor and inserter members of the standard iostreams use `num_get<>`
|
| 20 |
+
and `num_put<>` member functions for formatting and parsing numeric
|
| 21 |
+
values [[istream.formatted.reqmts]], [[ostream.formatted.reqmts]].
|
| 22 |
+
|