File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 34553455\pnum
34563456A constant template argument is non-specialized if it is the name of a constant
34573457template parameter.
3458- All other constant arguments are specialized.
3458+ All other constant template arguments are specialized.
34593459
34603460\pnum
34613461Within the argument list of a partial specialization,
75687568\item
75697569the 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 }
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 }
83268327\tcode {A}),
83278328and an attempt is made to find template argument values (a type for a type
83288329parameter, 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},
83318332after substitution of the deduced values (call it the deduced
83328333\tcode {A}),
You can’t perform that action at this time.
0 commit comments