File tree 5 files changed +8
-8
lines changed
5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1472
1472
the \grammarterm {cv-qualifier-seq}, and
1473
1473
the exception specification,
1474
1474
but not the default arguments\iref {dcl.fct.default }
1475
- or \grammarterm {requires-clause}{s} \iref {temp },
1475
+ or the trailing \grammarterm {requires-clause}\iref {dcl.decl },
1476
1476
are part of the function type.
1477
1477
\begin {note }
1478
1478
Function types are checked during the assignments and initializations of
Original file line number Diff line number Diff line change 687
687
\end {example }
688
688
689
689
\pnum
690
- A virtual function shall not have a \grammarterm {requires-clause}.
690
+ A virtual function shall not have a trailing \grammarterm {requires-clause} \iref { dcl.decl }.
691
691
\begin {example }
692
692
\begin {codeblock }
693
693
struct A {
Original file line number Diff line number Diff line change 643
643
\pnum
644
644
A program that refers
645
645
explicitly or implicitly
646
- to a function with a \grammarterm {requires-clause}
646
+ to a function with a trailing \grammarterm {requires-clause}
647
647
whose \grammarterm {constraint-expression} is not satisfied,
648
648
other than to declare it,
649
649
is ill-formed.
Original file line number Diff line number Diff line change 219
219
parameter type list\iref {dcl.fct },
220
220
enclosing namespace (if any),
221
221
and
222
- \grammarterm {requires-clause}\iref {temp.constr .decl } (if any)
222
+ trailing \grammarterm {requires-clause}\iref {dcl .decl } (if any)
223
223
224
224
\begin {defnote }
225
225
Signatures are used as a basis for
235
235
return type,
236
236
\grammarterm {template-head},
237
237
and
238
- \grammarterm {requires-clause}\iref {temp.constr .decl } (if any)
238
+ trailing \grammarterm {requires-clause}\iref {dcl .decl } (if any)
239
239
240
240
\indexdefn {signature}%
241
241
\definition {signature}{defns.signature.spec}
251
251
\cv -qualifiers (if any),
252
252
\grammarterm {ref-qualifier} (if any),
253
253
and
254
- \grammarterm {requires-clause}\iref {temp.constr .decl } (if any)
254
+ trailing \grammarterm {requires-clause}\iref {dcl .decl } (if any)
255
255
256
256
\indexdefn {signature}%
257
257
\definition {signature}{defns.signature.member.templ}
264
264
return type (if any),
265
265
\grammarterm {template-head},
266
266
and
267
- \grammarterm {requires-clause}\iref {temp.constr .decl } (if any)
267
+ trailing \grammarterm {requires-clause}\iref {dcl .decl } (if any)
268
268
269
269
\indexdefn {signature}%
270
270
\definition {signature}{defns.signature.member.spec}
Original file line number Diff line number Diff line change 309
309
\pnum
310
310
Two function declarations of the same name refer to the same function if they
311
311
are in the same scope and have equivalent parameter declarations\iref {over.load }
312
- and equivalent \grammarterm {requires-clause}{s}, if any\iref {temp.constr .decl }.
312
+ and equivalent trailing \grammarterm {requires-clause}{s}, if any\iref {dcl .decl }.
313
313
A function member of a derived class is
314
314
\textit {not }
315
315
in the same scope as a function member of the same name in a base class.
You can’t perform that action at this time.
0 commit comments