This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13616] fails to look up template specialization of template template parameter involving own template parameters


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]