From Jason Turner

[ios.base.locales]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmppp0msslr/{from.md → to.md} +11 -12
tmp/tmppp0msslr/{from.md → to.md} RENAMED
@@ -1,25 +1,24 @@
1
- #### `ios_base` functions <a id="ios.base.locales">[[ios.base.locales]]</a>
2
 
3
  ``` cpp
4
  locale imbue(const locale& loc);
5
  ```
6
 
7
- *Effects:* Calls each registered callback pair
8
- `(fn, index)` ([[ios.base.callback]]) as
9
- `(*fn)(imbue_event, *this, index)` at such a time that a call to
10
- `ios_base::getloc()` from within `fn` returns the new locale value
11
- `loc`.
 
12
 
13
  *Returns:* The previous value of `getloc()`.
14
 
15
- *Postconditions:* `loc == getloc()`.
16
-
17
  ``` cpp
18
  locale getloc() const;
19
  ```
20
 
21
- *Returns:* If no locale has been imbued, a copy of the global C++locale,
22
- `locale()`, in effect at the time of construction. Otherwise, returns
23
- the imbued locale, to be used to perform locale-dependent input and
24
- output operations.
25
 
 
1
+ #### Functions <a id="ios.base.locales">[[ios.base.locales]]</a>
2
 
3
  ``` cpp
4
  locale imbue(const locale& loc);
5
  ```
6
 
7
+ *Effects:* Calls each registered callback pair `(fn, idx)`
8
+ [[ios.base.callback]] as `(*fn)(imbue_event, *this, idx)` at such a time
9
+ that a call to `ios_base::getloc()` from within `fn` returns the new
10
+ locale value `loc`.
11
+
12
+ *Ensures:* `loc == getloc()`.
13
 
14
  *Returns:* The previous value of `getloc()`.
15
 
 
 
16
  ``` cpp
17
  locale getloc() const;
18
  ```
19
 
20
+ *Returns:* If no locale has been imbued, a copy of the global C++
21
+ locale, `locale()`, in effect at the time of construction. Otherwise,
22
+ returns the imbued locale, to be used to perform locale-dependent input
23
+ and output operations.
24