File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 3393
3393
\end {itemize }
3394
3394
3395
3395
\pnum
3396
- A partial specialization matches a given actual template argument
3397
- list if the template arguments of the partial specialization can be
3398
- deduced from the actual template argument list\iref {temp.deduct },
3399
- and the deduced template arguments satisfy the associated constraints
3396
+ A class template partial specialization \defnx {matches}{specialization!matches}
3397
+ the template argument list of a class template specialization \tcode {A} if, given the type \tcode {P}
3398
+ formed by the \grammarterm {simple-template-id} of the partial specialization,
3399
+ template argument deduction\iref {temp.deduct.type } for \tcode {P} from \tcode {A} would succeed
3400
+ and the deduced template arguments would satisfy the associated constraints
3400
3401
of the partial specialization, if any\iref {temp.constr.decl }.
3402
+
3401
3403
\begin {example }
3402
3404
\begin {codeblock }
3403
3405
template<class T1, class T2, int I> class A { }; // \# 1
You can’t perform that action at this time.
0 commit comments