From Jason Turner

[locale.cons]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpcmc78puz/{from.md → to.md} +4 -18
tmp/tmpcmc78puz/{from.md → to.md} RENAMED
@@ -1,27 +1,19 @@
1
- #### `locale` constructors and destructor <a id="locale.cons">[[locale.cons]]</a>
2
 
3
  ``` cpp
4
  locale() noexcept;
5
  ```
6
 
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
-
22
- *Effects:* Constructs a locale which is a copy of `other`.
23
 
24
  ``` cpp
25
  explicit locale(const char* std_name);
26
  ```
27
 
@@ -86,11 +78,5 @@ const locale& operator=(const locale& other) noexcept;
86
 
87
  *Effects:* Creates a copy of `other`, replacing the current value.
88
 
89
  *Returns:* `*this`.
90
 
91
- ``` cpp
92
- ~locale();
93
- ```
94
-
95
- A non-virtual destructor that throws no exceptions.
96
-
 
1
+ #### Constructors and destructor <a id="locale.cons">[[locale.cons]]</a>
2
 
3
  ``` cpp
4
  locale() noexcept;
5
  ```
6
 
 
 
7
  *Effects:* Constructs a copy of the argument last passed to
8
  `locale::global(locale&)`, if it has been called; else, the resulting
9
  facets have virtual function semantics identical to those of
10
  `locale::classic()`.
11
 
12
+ [*Note 1*: This constructor yields a copy of the current global locale.
13
+ It is commonly used as a default argument for function parameters of
14
+ type `const locale&`. — *end note*]
 
 
 
 
 
 
15
 
16
  ``` cpp
17
  explicit locale(const char* std_name);
18
  ```
19
 
 
78
 
79
  *Effects:* Creates a copy of `other`, replacing the current value.
80
 
81
  *Returns:* `*this`.
82