Skip to content

Commit 5d22ad3

Browse files
committed
Revert changes to [dcl.fct] that should be done in P2841 instead
1 parent a297979 commit 5d22ad3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/declarations.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4021,7 +4021,7 @@
40214021
An abbreviated function template is equivalent to
40224022
a function template\iref{temp.fct}
40234023
whose \grammarterm{template-parameter-list} includes
4024-
one invented \grammarterm{type-parameter}
4024+
one invented type \grammarterm{template-parameter}
40254025
for each generic parameter type placeholder
40264026
of the function declaration, in order of appearance.
40274027
For a \grammarterm{placeholder-type-specifier} of the form \keyword{auto},
@@ -4031,7 +4031,7 @@
40314031
\grammarterm{type-constraint} \keyword{auto},
40324032
the invented parameter is a \grammarterm{type-parameter} with
40334033
that \grammarterm{type-constraint}.
4034-
The invented \grammarterm{type-parameter} is
4034+
The invented type \grammarterm{template-parameter} is
40354035
a template parameter pack
40364036
if the corresponding \grammarterm{parameter-declaration}
40374037
declares a function parameter pack.
@@ -4040,7 +4040,7 @@
40404040
The adjusted function parameters of an abbreviated function template
40414041
are derived from the \grammarterm{parameter-declaration-clause} by
40424042
replacing each occurrence of a placeholder with
4043-
the name of the corresponding invented \grammarterm{type-parameter}.
4043+
the name of the corresponding invented \grammarterm{template-parameter}.
40444044
\begin{example}
40454045
\begin{codeblock}
40464046
template<typename T> concept C1 = /* ... */;

0 commit comments

Comments
 (0)