tmp/tmp50yrm2an/{from.md → to.md}
RENAMED
|
@@ -207,20 +207,20 @@ The provided implementation of members of facets `num_get<charT>` and
|
|
| 207 |
`num_put<charT>` calls `use_facet <F> (l)` only for facet `F` of types
|
| 208 |
`numpunct<charT>` and `ctype<charT>`, and for locale `l` the value
|
| 209 |
obtained by calling member `getloc()` on the `ios_base&` argument to
|
| 210 |
these functions.
|
| 211 |
|
| 212 |
-
In declarations of facets, a template
|
| 213 |
`InputIterator` or `OutputIterator` indicates the set of all possible
|
| 214 |
specializations on parameters that satisfy the requirements of an Input
|
| 215 |
Iterator or an Output Iterator, respectively (
|
| 216 |
-
[[iterator.requirements]]). A template
|
| 217 |
represents the set of types containing `char`, `wchar_t`, and any other
|
| 218 |
implementation-defined character types that satisfy the requirements for
|
| 219 |
a character on which any of the iostream components can be instantiated.
|
| 220 |
-
A template
|
| 221 |
-
|
| 222 |
|
| 223 |
##### Class `locale::facet` <a id="locale.facet">[[locale.facet]]</a>
|
| 224 |
|
| 225 |
``` cpp
|
| 226 |
namespace std {
|
|
@@ -310,14 +310,10 @@ value for arguments of functions that take a `const locale&` argument.
|
|
| 310 |
locale(const locale& other) noexcept;
|
| 311 |
```
|
| 312 |
|
| 313 |
*Effects:* Constructs a locale which is a copy of `other`.
|
| 314 |
|
| 315 |
-
*Effects:* Creates a copy of `other`, replacing the current value.
|
| 316 |
-
|
| 317 |
-
*Returns:* `*this`
|
| 318 |
-
|
| 319 |
``` cpp
|
| 320 |
explicit locale(const char* std_name);
|
| 321 |
```
|
| 322 |
|
| 323 |
*Effects:* Constructs a locale using standard C locale names, e.g.,
|
|
@@ -377,10 +373,14 @@ arguments have names.
|
|
| 377 |
|
| 378 |
``` cpp
|
| 379 |
const locale& operator=(const locale& other) noexcept;
|
| 380 |
```
|
| 381 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 382 |
``` cpp
|
| 383 |
~locale();
|
| 384 |
```
|
| 385 |
|
| 386 |
A non-virtual destructor that throws no exceptions.
|
|
|
|
| 207 |
`num_put<charT>` calls `use_facet <F> (l)` only for facet `F` of types
|
| 208 |
`numpunct<charT>` and `ctype<charT>`, and for locale `l` the value
|
| 209 |
obtained by calling member `getloc()` on the `ios_base&` argument to
|
| 210 |
these functions.
|
| 211 |
|
| 212 |
+
In declarations of facets, a template parameter with name
|
| 213 |
`InputIterator` or `OutputIterator` indicates the set of all possible
|
| 214 |
specializations on parameters that satisfy the requirements of an Input
|
| 215 |
Iterator or an Output Iterator, respectively (
|
| 216 |
+
[[iterator.requirements]]). A template parameter with name `C`
|
| 217 |
represents the set of types containing `char`, `wchar_t`, and any other
|
| 218 |
implementation-defined character types that satisfy the requirements for
|
| 219 |
a character on which any of the iostream components can be instantiated.
|
| 220 |
+
A template parameter with name `International` represents the set of all
|
| 221 |
+
possible specializations on a bool parameter.
|
| 222 |
|
| 223 |
##### Class `locale::facet` <a id="locale.facet">[[locale.facet]]</a>
|
| 224 |
|
| 225 |
``` cpp
|
| 226 |
namespace std {
|
|
|
|
| 310 |
locale(const locale& other) noexcept;
|
| 311 |
```
|
| 312 |
|
| 313 |
*Effects:* Constructs a locale which is a copy of `other`.
|
| 314 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 315 |
``` cpp
|
| 316 |
explicit locale(const char* std_name);
|
| 317 |
```
|
| 318 |
|
| 319 |
*Effects:* Constructs a locale using standard C locale names, e.g.,
|
|
|
|
| 373 |
|
| 374 |
``` cpp
|
| 375 |
const locale& operator=(const locale& other) noexcept;
|
| 376 |
```
|
| 377 |
|
| 378 |
+
*Effects:* Creates a copy of `other`, replacing the current value.
|
| 379 |
+
|
| 380 |
+
*Returns:* `*this`
|
| 381 |
+
|
| 382 |
``` cpp
|
| 383 |
~locale();
|
| 384 |
```
|
| 385 |
|
| 386 |
A non-virtual destructor that throws no exceptions.
|