Skip to content

Commit 7f17f18

Browse files
burblebeetkoeppe
authored andcommitted
CWG2697 Deduction guides using abbreviated function syntax
1 parent a282091 commit 7f17f18

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/templates.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2413,7 +2413,10 @@
24132413
The same restrictions apply
24142414
to the \grammarterm{parameter-declaration-clause}
24152415
of a deduction guide
2416-
as in a function declaration\iref{dcl.fct}.
2416+
as in a function declaration\iref{dcl.fct},
2417+
except that a generic parameter type placeholder\iref{dcl.spec.auto}
2418+
shall not appear in the \grammarterm{parameter-declaration-clause} of
2419+
a deduction guide.
24172420
The \grammarterm{simple-template-id}
24182421
shall name a class template specialization.
24192422
The \grammarterm{template-name}

0 commit comments

Comments
 (0)