tmp/tmptrc0d5ln/{from.md → to.md}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
-
#####
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
catalog do_open(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
|
|
@@ -16,22 +16,22 @@ 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 |
-
*
|
| 22 |
closed.
|
| 23 |
|
| 24 |
*Returns:* A message identified by arguments `set`, `msgid`, and
|
| 25 |
`dfault`, according to an *implementation-defined* mapping. If no such
|
| 26 |
message can be found, returns `dfault`.
|
| 27 |
|
| 28 |
``` cpp
|
| 29 |
void do_close(catalog cat) const;
|
| 30 |
```
|
| 31 |
|
| 32 |
-
*
|
| 33 |
closed.
|
| 34 |
|
| 35 |
*Effects:* Releases unspecified resources associated with `cat`.
|
| 36 |
|
| 37 |
*Remarks:* The limit on such resources, if any, is
|
|
|
|
| 1 |
+
##### Virtual functions <a id="locale.messages.virtuals">[[locale.messages.virtuals]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
catalog do_open(const string& 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
|
|
|
|
| 16 |
|
| 17 |
``` cpp
|
| 18 |
string_type do_get(catalog cat, int set, int msgid, const string_type& dfault) const;
|
| 19 |
```
|
| 20 |
|
| 21 |
+
*Preconditions:* `cat` is a catalog obtained from `open()` and not yet
|
| 22 |
closed.
|
| 23 |
|
| 24 |
*Returns:* A message identified by arguments `set`, `msgid`, and
|
| 25 |
`dfault`, according to an *implementation-defined* mapping. If no such
|
| 26 |
message can be found, returns `dfault`.
|
| 27 |
|
| 28 |
``` cpp
|
| 29 |
void do_close(catalog cat) const;
|
| 30 |
```
|
| 31 |
|
| 32 |
+
*Preconditions:* `cat` is a catalog obtained from `open()` and not yet
|
| 33 |
closed.
|
| 34 |
|
| 35 |
*Effects:* Releases unspecified resources associated with `cat`.
|
| 36 |
|
| 37 |
*Remarks:* The limit on such resources, if any, is
|