tmp/tmpqycr036_/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,9 @@
|
|
| 1 |
##### `messages` virtual functions <a id="locale.messages.virtuals">[[locale.messages.virtuals]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
catalog do_open(const basic_string<char>& name,
|
| 5 |
-
const locale& loc) const;
|
| 6 |
```
|
| 7 |
|
| 8 |
*Returns:* A value that may be passed to `get()` to retrieve a message
|
| 9 |
from the message catalog identified by the string `name` according to an
|
| 10 |
*implementation-defined* mapping. The result can be used until it is
|
|
@@ -14,12 +13,11 @@ Returns a value less than 0 if no such catalog can be opened.
|
|
| 14 |
|
| 15 |
*Remarks:* The locale argument `loc` is used for character set code
|
| 16 |
conversion when retrieving messages, if needed.
|
| 17 |
|
| 18 |
``` cpp
|
| 19 |
-
string_type do_get(catalog cat, int set, int msgid,
|
| 20 |
-
const string_type& dfault) const;
|
| 21 |
```
|
| 22 |
|
| 23 |
*Requires:* `cat` shall be a catalog obtained from `open()` and not yet
|
| 24 |
closed.
|
| 25 |
|
|
@@ -35,7 +33,7 @@ void do_close(catalog cat) const;
|
|
| 35 |
closed.
|
| 36 |
|
| 37 |
*Effects:* Releases unspecified resources associated with `cat`.
|
| 38 |
|
| 39 |
*Remarks:* The limit on such resources, if any, is
|
| 40 |
-
implementation-defined.
|
| 41 |
|
|
|
|
| 1 |
##### `messages` virtual functions <a id="locale.messages.virtuals">[[locale.messages.virtuals]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
catalog do_open(const basic_string<char>& name, const locale& loc) const;
|
|
|
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:* A value that may be passed to `get()` to retrieve a message
|
| 8 |
from the message catalog identified by the string `name` according to an
|
| 9 |
*implementation-defined* mapping. The result can be used until it is
|
|
|
|
| 13 |
|
| 14 |
*Remarks:* The locale argument `loc` is used for character set code
|
| 15 |
conversion when retrieving messages, if needed.
|
| 16 |
|
| 17 |
``` cpp
|
| 18 |
+
string_type do_get(catalog cat, int set, int msgid, const string_type& dfault) const;
|
|
|
|
| 19 |
```
|
| 20 |
|
| 21 |
*Requires:* `cat` shall be a catalog obtained from `open()` and not yet
|
| 22 |
closed.
|
| 23 |
|
|
|
|
| 33 |
closed.
|
| 34 |
|
| 35 |
*Effects:* Releases unspecified resources associated with `cat`.
|
| 36 |
|
| 37 |
*Remarks:* The limit on such resources, if any, is
|
| 38 |
+
*implementation-defined*.
|
| 39 |
|