Skip to content

Commit 274d2b8

Browse files
committed
consistently refer to constant **template** parameter/argument
1 parent 7b7a5d0 commit 274d2b8

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

source/declarations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7185,7 +7185,7 @@
71857185
in the scope of \tcode{E}\iref{class.member.lookup}
71867186
finds at least one declaration
71877187
that is a function template whose first template parameter
7188-
is a constant parameter,
7188+
is a constant template parameter,
71897189
the initializer is
71907190
\tcode{\exposidnc{e}.get<i>()}. Otherwise, the initializer is \tcode{get<i>(\exposid{e})},
71917191
where \tcode{get} undergoes argument-dependent lookup\iref{basic.lookup.argdep}.

source/templates.tex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,9 @@
296296
and template
297297
\grammarterm{template-argument}{s}
298298
are treated as types for descriptive purposes, the terms
299-
\term{constant parameter}
299+
\term{constant template parameter}
300300
and
301-
\term{constant argument}
301+
\term{constant template argument}
302302
are used to refer to constant, non-template parameters and arguments.
303303
\end{footnote}
304304
\grammarterm{parameter-declaration}.
@@ -3453,8 +3453,8 @@
34533453
\end{example}
34543454

34553455
\pnum
3456-
A constant argument is non-specialized if it is the name of a constant
3457-
parameter.
3456+
A constant template argument is non-specialized if it is the name of a constant
3457+
template parameter.
34583458
All other constant arguments are specialized.
34593459

34603460
\pnum
@@ -3463,8 +3463,8 @@
34633463

34643464
\begin{itemize}
34653465
\item
3466-
The type of a template parameter corresponding to a specialized constant argument
3467-
shall not be dependent on a parameter of the partial specialization.
3466+
The type of a template parameter corresponding to a specialized constant template
3467+
argument shall not be dependent on a parameter of the partial specialization.
34683468
\begin{example}
34693469
\begin{codeblock}
34703470
template <class T, T t> struct C {};
@@ -8325,7 +8325,7 @@
83258325
is compared with an actual type (call it
83268326
\tcode{A}),
83278327
and an attempt is made to find template argument values (a type for a type
8328-
parameter, a value for a constant parameter, or a template for a
8328+
parameter, a value for a constant template parameter, or a template for a
83298329
template parameter) that will make
83308330
\tcode{P},
83318331
after substitution of the deduced values (call it the deduced
@@ -8580,7 +8580,7 @@
85808580
\tcode{T},
85818581
a template template argument
85828582
\tcode{TT},
8583-
or a template constant argument
8583+
or a constant template argument
85848584
\tcode{i}
85858585
can be deduced if
85868586
\tcode{P}

0 commit comments

Comments
 (0)