tmp/tmpaq90_qz6/{from.md → to.md}
RENAMED
|
@@ -7,12 +7,15 @@ locale() noexcept;
|
|
| 7 |
Default constructor: a snapshot of the current global locale.
|
| 8 |
|
| 9 |
*Effects:* Constructs a copy of the argument last passed to
|
| 10 |
`locale::global(locale&)`, if it has been called; else, the resulting
|
| 11 |
facets have virtual function semantics identical to those of
|
| 12 |
-
`locale::classic()`.
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
``` cpp
|
| 16 |
locale(const locale& other) noexcept;
|
| 17 |
```
|
| 18 |
|
|
@@ -81,11 +84,11 @@ arguments have names.
|
|
| 81 |
const locale& operator=(const locale& other) noexcept;
|
| 82 |
```
|
| 83 |
|
| 84 |
*Effects:* Creates a copy of `other`, replacing the current value.
|
| 85 |
|
| 86 |
-
*Returns:* `*this`
|
| 87 |
|
| 88 |
``` cpp
|
| 89 |
~locale();
|
| 90 |
```
|
| 91 |
|
|
|
|
| 7 |
Default constructor: a snapshot of the current global locale.
|
| 8 |
|
| 9 |
*Effects:* Constructs a copy of the argument last passed to
|
| 10 |
`locale::global(locale&)`, if it has been called; else, the resulting
|
| 11 |
facets have virtual function semantics identical to those of
|
| 12 |
+
`locale::classic()`.
|
| 13 |
+
|
| 14 |
+
[*Note 1*: This constructor is commonly used as the default value for
|
| 15 |
+
arguments of functions that take a `const locale&`
|
| 16 |
+
argument. — *end note*]
|
| 17 |
|
| 18 |
``` cpp
|
| 19 |
locale(const locale& other) noexcept;
|
| 20 |
```
|
| 21 |
|
|
|
|
| 84 |
const locale& operator=(const locale& other) noexcept;
|
| 85 |
```
|
| 86 |
|
| 87 |
*Effects:* Creates a copy of `other`, replacing the current value.
|
| 88 |
|
| 89 |
+
*Returns:* `*this`.
|
| 90 |
|
| 91 |
``` cpp
|
| 92 |
~locale();
|
| 93 |
```
|
| 94 |
|