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]

Re: c++/6758: ICE on nested type in template declaration


Synopsis: ICE on nested type in template declaration

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Wed May 22 06:57:59 2002
State-Changed-Why:
    ICE confirmed.  The code is illegal.  The line
                typedef std::map<std::string,T>::allocator_type::reference bar;
    should be replaced by
                typedef typename std::map<std::string,T>::allocator_type::reference bar;

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


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