c++/5333: ICE on nested template classes using other nested template classes

lerdsuwa@gcc.gnu.org lerdsuwa@gcc.gnu.org
Sun May 19 04:37:00 GMT 2002


Synopsis: ICE on nested template classes using other nested template classes

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Sun May 19 04:37:55 2002
State-Changed-Why:
    Confirmed as a bug.  Present in both 3.1 branch and main
    trunk.  The code is illegal.  The declaration of '_a' inside
    'B' should be
      typename A<U,SubB1>::template SubA<SubB2> _a;
    Also, inside class 'SubB1', it cannot contain an instance of
    'B'.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5333



More information about the Gcc-bugs mailing list