tmp/tmp66o_oot1/{from.md → to.md}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
-
### The message retrieval category <a id="category.messages">[[category.messages]]</a>
|
| 2 |
|
| 3 |
-
#### General <a id="category.messages.general">[[category.messages.general]]</a>
|
| 4 |
|
| 5 |
Class `messages<charT>` implements retrieval of strings from message
|
| 6 |
catalogs.
|
| 7 |
|
| 8 |
-
#### Class template `messages` <a id="locale.messages">[[locale.messages]]</a>
|
| 9 |
|
| 10 |
-
##### General <a id="locale.messages.general">[[locale.messages.general]]</a>
|
| 11 |
|
| 12 |
``` cpp
|
| 13 |
namespace std {
|
| 14 |
class messages_base {
|
| 15 |
public:
|
|
@@ -42,11 +42,11 @@ namespace std {
|
|
| 42 |
```
|
| 43 |
|
| 44 |
Values of type `messages_base::catalog` usable as arguments to members
|
| 45 |
`get` and `close` can be obtained only by calling member `open`.
|
| 46 |
|
| 47 |
-
##### Members <a id="locale.messages.members">[[locale.messages.members]]</a>
|
| 48 |
|
| 49 |
``` cpp
|
| 50 |
catalog open(const string& name, const locale& loc) const;
|
| 51 |
```
|
| 52 |
|
|
@@ -62,11 +62,11 @@ string_type get(catalog cat, int set, int msgid, const string_type& dfault) cons
|
|
| 62 |
void close(catalog cat) const;
|
| 63 |
```
|
| 64 |
|
| 65 |
*Effects:* Calls `do_close(cat)`.
|
| 66 |
|
| 67 |
-
##### Virtual functions <a id="locale.messages.virtuals">[[locale.messages.virtuals]]</a>
|
| 68 |
|
| 69 |
``` cpp
|
| 70 |
catalog do_open(const string& name, const locale& loc) const;
|
| 71 |
```
|
| 72 |
|
|
@@ -101,11 +101,11 @@ closed.
|
|
| 101 |
*Effects:* Releases unspecified resources associated with `cat`.
|
| 102 |
|
| 103 |
*Remarks:* The limit on such resources, if any, is
|
| 104 |
*implementation-defined*.
|
| 105 |
|
| 106 |
-
#### Class template `messages_byname` <a id="locale.messages.byname">[[locale.messages.byname]]</a>
|
| 107 |
|
| 108 |
``` cpp
|
| 109 |
namespace std {
|
| 110 |
template<class charT>
|
| 111 |
class messages_byname : public messages<charT> {
|
|
|
|
| 1 |
+
#### The message retrieval category <a id="category.messages">[[category.messages]]</a>
|
| 2 |
|
| 3 |
+
##### General <a id="category.messages.general">[[category.messages.general]]</a>
|
| 4 |
|
| 5 |
Class `messages<charT>` implements retrieval of strings from message
|
| 6 |
catalogs.
|
| 7 |
|
| 8 |
+
##### Class template `messages` <a id="locale.messages">[[locale.messages]]</a>
|
| 9 |
|
| 10 |
+
###### General <a id="locale.messages.general">[[locale.messages.general]]</a>
|
| 11 |
|
| 12 |
``` cpp
|
| 13 |
namespace std {
|
| 14 |
class messages_base {
|
| 15 |
public:
|
|
|
|
| 42 |
```
|
| 43 |
|
| 44 |
Values of type `messages_base::catalog` usable as arguments to members
|
| 45 |
`get` and `close` can be obtained only by calling member `open`.
|
| 46 |
|
| 47 |
+
###### Members <a id="locale.messages.members">[[locale.messages.members]]</a>
|
| 48 |
|
| 49 |
``` cpp
|
| 50 |
catalog open(const string& name, const locale& loc) const;
|
| 51 |
```
|
| 52 |
|
|
|
|
| 62 |
void close(catalog cat) const;
|
| 63 |
```
|
| 64 |
|
| 65 |
*Effects:* Calls `do_close(cat)`.
|
| 66 |
|
| 67 |
+
###### Virtual functions <a id="locale.messages.virtuals">[[locale.messages.virtuals]]</a>
|
| 68 |
|
| 69 |
``` cpp
|
| 70 |
catalog do_open(const string& name, const locale& loc) const;
|
| 71 |
```
|
| 72 |
|
|
|
|
| 101 |
*Effects:* Releases unspecified resources associated with `cat`.
|
| 102 |
|
| 103 |
*Remarks:* The limit on such resources, if any, is
|
| 104 |
*implementation-defined*.
|
| 105 |
|
| 106 |
+
##### Class template `messages_byname` <a id="locale.messages.byname">[[locale.messages.byname]]</a>
|
| 107 |
|
| 108 |
``` cpp
|
| 109 |
namespace std {
|
| 110 |
template<class charT>
|
| 111 |
class messages_byname : public messages<charT> {
|