Skip to content

Commit 2109f57

Browse files
committed
[locale.general] Add cross-references to class synopsis
1 parent e6c2f8f commit 2109f57

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

source/locales.tex

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,12 @@
123123
namespace std {
124124
class locale {
125125
public:
126-
// types
126+
// \ref{locale.types}, types
127+
// \ref{locale.facet}, class \tcode{locale::facet}
127128
class facet;
129+
// \ref{locale.id}, class \tcode{locale::id}
128130
class id;
131+
// \ref{locale.category}, type \tcode{locale::category}
129132
using category = int;
130133
static const category // values assigned here are for exposition only
131134
none = 0,
@@ -134,7 +137,7 @@
134137
time = 0x100, messages = 0x200,
135138
all = collate | ctype | monetary | numeric | time | messages;
136139

137-
// construct/copy/destroy
140+
// \ref{locale.cons}, construct/copy/destroy
138141
locale() noexcept;
139142
locale(const locale& other) noexcept;
140143
explicit locale(const char* std_name);
@@ -145,9 +148,9 @@
145148
locale(const locale& other, const locale& one, category);
146149
~locale(); // not virtual
147150
const locale& operator=(const locale& other) noexcept;
148-
template<class Facet> locale combine(const locale& other) const;
149151

150-
// locale operations
152+
// \ref{locale.members}, locale operations
153+
template<class Facet> locale combine(const locale& other) const;
151154
string name() const;
152155
text_encoding encoding() const;
153156

@@ -157,7 +160,7 @@
157160
bool operator()(const basic_string<charT, traits, Allocator>& s1,
158161
const basic_string<charT, traits, Allocator>& s2) const;
159162

160-
// global locale objects
163+
// \ref{locale.statics}, global locale objects
161164
static locale global(const locale&);
162165
static const locale& classic();
163166
};

0 commit comments

Comments
 (0)