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]

Re: c++/3748: egcs++ crashes on template specialization from different namespace


Synopsis: egcs++ crashes on template specialization from different namespace

Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Mon Aug 13 13:58:33 2001
Responsible-Changed-Why:
    Boo!
State-Changed-From-To: open->closed
State-Changed-By: gdr
State-Changed-When: Mon Aug 13 13:58:33 2001
State-Changed-Why:
    Firstly, your program is ill-formed: You cannot (partially) specialized
    a template in a namespace different from the one in which the primary
    template was declared.
    
    Secondly, GCC-3.x no longer crashes :-)
    
    -- Gaby

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3748&database=gcc


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