Skip to content

Commit ae3cb3e

Browse files
committed
Apply Hubert's feedback
1 parent 2397a6f commit ae3cb3e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

source/templates.tex

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3455,7 +3455,7 @@
34553455
\pnum
34563456
A constant template argument is non-specialized if it is the name of a constant
34573457
template parameter.
3458-
All other constant arguments are specialized.
3458+
All other constant template arguments are specialized.
34593459

34603460
\pnum
34613461
Within the argument list of a partial specialization,
@@ -7568,7 +7568,8 @@
75687568
\item
75697569
the specified member is not a template where a template is required, or
75707570
\item
7571-
the specified member is not a constant where a constant is required.
7571+
the specified member is not a non-type, non-template where a non-type,
7572+
non-template is required.
75727573
\end{itemize}
75737574
\begin{example}
75747575
\begin{codeblock}
@@ -7590,7 +7591,7 @@
75907591
// Deduction fails in each of these cases:
75917592
f<A>(0); // \tcode{A} does not contain a member \tcode{Y}
75927593
f<B>(0); // The \tcode{Y} member of \tcode{B} is not a type
7593-
g<C>(0); // The \tcode{N} member of \tcode{C} is not a constant
7594+
g<C>(0); // The \tcode{N} member of \tcode{C} is not a non-type, non-template name
75947595
h<D>(0); // The \tcode{TT} member of \tcode{D} is not a template
75957596
}
75967597
\end{codeblock}
@@ -8326,7 +8327,7 @@
83268327
\tcode{A}),
83278328
and an attempt is made to find template argument values (a type for a type
83288329
parameter, a value for a constant template parameter, or a template for a
8329-
template parameter) that will make
8330+
template template parameter) that will make
83308331
\tcode{P},
83318332
after substitution of the deduced values (call it the deduced
83328333
\tcode{A}),

0 commit comments

Comments
 (0)