Skip to content

Commit 403e0a9

Browse files
CaseyCarterzygoloid
authored andcommitted
[concepts.syn] Remove trailing ":" from reference comments in synopsis
Also fix one occurrence in [functional.syn] introduced by P898R3.
1 parent 9f018aa commit 403e0a9

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed

source/concepts.tex

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -135,124 +135,124 @@
135135
\indexlibrary{\idxhdr{concepts}}%
136136
\begin{codeblock}
137137
namespace std {
138-
// \ref{concepts.lang}, language-related concepts:
139-
// \ref{concept.same}, Same:
138+
// \ref{concepts.lang}, language-related concepts
139+
// \ref{concept.same}, Same
140140
template<class T, class U>
141141
concept Same = @\seebelow@;
142142

143-
// \ref{concept.derivedfrom}, DerivedFrom:
143+
// \ref{concept.derivedfrom}, DerivedFrom
144144
template<class Derived, class Base>
145145
concept DerivedFrom = @\seebelow@;
146146

147-
// \ref{concept.convertibleto}, ConvertibleTo:
147+
// \ref{concept.convertibleto}, ConvertibleTo
148148
template<class From, class To>
149149
concept ConvertibleTo = @\seebelow@;
150150

151-
// \ref{concept.commonref}, CommonReference:
151+
// \ref{concept.commonref}, CommonReference
152152
template<class T, class U>
153153
concept CommonReference = @\seebelow@;
154154

155-
// \ref{concept.common}, Common:
155+
// \ref{concept.common}, Common
156156
template<class T, class U>
157157
concept Common = @\seebelow@;
158158

159-
// \ref{concept.integral}, Integral:
159+
// \ref{concept.integral}, Integral
160160
template<class T>
161161
concept Integral = @\seebelow@;
162162

163-
// \ref{concept.signed.int}, SignedIntegral:
163+
// \ref{concept.signed.int}, SignedIntegral
164164
template<class T>
165165
concept SignedIntegral = @\seebelow@;
166166

167-
// \ref{concept.unsigned.int}, UnsignedIntegral:
167+
// \ref{concept.unsigned.int}, UnsignedIntegral
168168
template<class T>
169169
concept UnsignedIntegral = @\seebelow@;
170170

171-
// \ref{concept.assignable}, Assignable:
171+
// \ref{concept.assignable}, Assignable
172172
template<class LHS, class RHS>
173173
concept Assignable = @\seebelow@;
174174

175-
// \ref{concept.swappable}, Swappable:
175+
// \ref{concept.swappable}, Swappable
176176
template<class T>
177177
concept Swappable = @\seebelow@;
178178

179179
template<class T, class U>
180180
concept SwappableWith = @\seebelow@;
181181

182-
// \ref{concept.destructible}, Destructible:
182+
// \ref{concept.destructible}, Destructible
183183
template<class T>
184184
concept Destructible = @\seebelow@;
185185

186-
// \ref{concept.constructible}, Constructible:
186+
// \ref{concept.constructible}, Constructible
187187
template<class T, class... Args>
188188
concept Constructible = @\seebelow@;
189189

190-
// \ref{concept.defaultconstructible}, DefaultConstructible:
190+
// \ref{concept.defaultconstructible}, DefaultConstructible
191191
template<class T>
192192
concept DefaultConstructible = @\seebelow@;
193193

194-
// \ref{concept.moveconstructible}, MoveConstructible:
194+
// \ref{concept.moveconstructible}, MoveConstructible
195195
template<class T>
196196
concept MoveConstructible = @\seebelow@;
197197

198-
// \ref{concept.copyconstructible}, CopyConstructible:
198+
// \ref{concept.copyconstructible}, CopyConstructible
199199
template<class T>
200200
concept CopyConstructible = @\seebelow@;
201201

202-
// \ref{concepts.compare}, comparison concepts:
203-
// \ref{concept.boolean}, Boolean:
202+
// \ref{concepts.compare}, comparison concepts
203+
// \ref{concept.boolean}, Boolean
204204
template<class B>
205205
concept Boolean = @\seebelow@;
206206

207-
// \ref{concept.equalitycomparable}, EqualityComparable:
207+
// \ref{concept.equalitycomparable}, EqualityComparable
208208
template<class T>
209209
concept EqualityComparable = @\seebelow@;
210210

211211
template<class T, class U>
212212
concept EqualityComparableWith = @\seebelow@;
213213

214-
// \ref{concept.stricttotallyordered}, StrictTotallyOrdered:
214+
// \ref{concept.stricttotallyordered}, StrictTotallyOrdered
215215
template<class T>
216216
concept StrictTotallyOrdered = @\seebelow@;
217217

218218
template<class T, class U>
219219
concept StrictTotallyOrderedWith = @\seebelow@;
220220

221-
// \ref{concepts.object}, object concepts:
222-
// \ref{concept.movable}, Movable:
221+
// \ref{concepts.object}, object concepts
222+
// \ref{concept.movable}, Movable
223223
template<class T>
224224
concept Movable = @\seebelow@;
225225

226-
// \ref{concept.copyable}, Copyable:
226+
// \ref{concept.copyable}, Copyable
227227
template<class T>
228228
concept Copyable = @\seebelow@;
229229

230-
// \ref{concept.semiregular}, Semiregular:
230+
// \ref{concept.semiregular}, Semiregular
231231
template<class T>
232232
concept Semiregular = @\seebelow@;
233233

234-
// \ref{concept.regular}, Regular:
234+
// \ref{concept.regular}, Regular
235235
template<class T>
236236
concept Regular = @\seebelow@;
237237

238-
// \ref{concepts.callable}, callable concepts:
239-
// \ref{concept.invocable}, Invocable:
238+
// \ref{concepts.callable}, callable concepts
239+
// \ref{concept.invocable}, Invocable
240240
template<class F, class... Args>
241241
concept Invocable = @\seebelow@;
242242

243-
// \ref{concept.regularinvocable}, RegularInvocable:
243+
// \ref{concept.regularinvocable}, RegularInvocable
244244
template<class F, class... Args>
245245
concept RegularInvocable = @\seebelow@;
246246

247-
// \ref{concept.predicate}, Predicate:
247+
// \ref{concept.predicate}, Predicate
248248
template<class F, class... Args>
249249
concept Predicate = @\seebelow@;
250250

251-
// \ref{concept.relation}, Relation:
251+
// \ref{concept.relation}, Relation
252252
template<class R, class T, class U>
253253
concept Relation = @\seebelow@;
254254

255-
// \ref{concept.strictweakorder}, StrictWeakOrder:
255+
// \ref{concept.strictweakorder}, StrictWeakOrder
256256
template<class R, class T, class U>
257257
concept StrictWeakOrder = @\seebelow@;
258258
}

source/utilities.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13038,7 +13038,7 @@
1303813038
template<> struct bit_xor<void>;
1303913039
template<> struct bit_not<void>;
1304013040

13041-
// \ref{func.identity}, identity:
13041+
// \ref{func.identity}, identity
1304213042
struct identity;
1304313043

1304413044
// \ref{func.not_fn}, function template \tcode{not_fn}

0 commit comments

Comments
 (0)