[Bug c++/14032] Specialization of inner template using outer template argument doesn't work
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Sep 4 15:43:00 GMT 2007
------- Comment #20 from jason at gcc dot gnu dot org 2007-09-04 15:43 -------
Subject: Bug 14032
Author: jason
Date: Tue Sep 4 15:43:00 2007
New Revision: 128090
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128090
Log:
PR c++/14032
* pt.c (most_specialized_class): Substitute outer template
arguments into the arguments of a member template partial
specialization.
(strip_innermost_template_args): New fn.
Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/template/mem-partial1.C
- copied unchanged from r128077,
trunk/gcc/testsuite/g++.dg/template/mem-partial1.C
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/template/mem-partial2.C
- copied unchanged from r128077,
trunk/gcc/testsuite/g++.dg/template/mem-partial2.C
Modified:
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/pt.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14032
More information about the Gcc-bugs
mailing list