|
123 | 123 | namespace std {
|
124 | 124 | class locale {
|
125 | 125 | public:
|
126 |
| - // types |
| 126 | + // \ref{locale.types}, types |
| 127 | + // \ref{locale.facet}, class \tcode{locale::facet} |
127 | 128 | class facet;
|
| 129 | + // \ref{locale.id}, class \tcode{locale::id} |
128 | 130 | class id;
|
| 131 | + // \ref{locale.category}, type \tcode{locale::category} |
129 | 132 | using category = int;
|
130 | 133 | static const category // values assigned here are for exposition only
|
131 | 134 | none = 0,
|
|
134 | 137 | time = 0x100, messages = 0x200,
|
135 | 138 | all = collate | ctype | monetary | numeric | time | messages;
|
136 | 139 |
|
137 |
| - // construct/copy/destroy |
| 140 | + // \ref{locale.cons}, construct/copy/destroy |
138 | 141 | locale() noexcept;
|
139 | 142 | locale(const locale& other) noexcept;
|
140 | 143 | explicit locale(const char* std_name);
|
|
145 | 148 | locale(const locale& other, const locale& one, category);
|
146 | 149 | ~locale(); // not virtual
|
147 | 150 | const locale& operator=(const locale& other) noexcept;
|
148 |
| - template<class Facet> locale combine(const locale& other) const; |
149 | 151 |
|
150 |
| - // locale operations |
| 152 | + // \ref{locale.members}, locale operations |
| 153 | + template<class Facet> locale combine(const locale& other) const; |
151 | 154 | string name() const;
|
152 | 155 | text_encoding encoding() const;
|
153 | 156 |
|
|
157 | 160 | bool operator()(const basic_string<charT, traits, Allocator>& s1,
|
158 | 161 | const basic_string<charT, traits, Allocator>& s2) const;
|
159 | 162 |
|
160 |
| - // global locale objects |
| 163 | + // \ref{locale.statics}, global locale objects |
161 | 164 | static locale global(const locale&);
|
162 | 165 | static const locale& classic();
|
163 | 166 | };
|
|
0 commit comments