This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13616] fails to look up template specialization of template template parameter involving own template parameters
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jan 2004 18:41:07 -0000
- Subject: [Bug c++/13616] fails to look up template specialization of template template parameter involving own template parameters
- References: <20040108163101.13616.hetadres@email.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-01-08 18:41 -------
This is fixed already. First, you need to say
class C <P, PP<P>::template Type > {
in the specialization. Note the "template" keyword here. Then the
code also yields what you expected with 3.3.3 (and, yes, this
is indeed very confusing that it yields the right thing with the
right syntax, and the wrong thing with an invalid syntax).
Present mainline only accepts the correct syntax, and prints the correct
message in this case.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13616