This is the mail archive of the gcc-prs@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++/6252: [parser]ICE when accessing member template of explicit specialization of outer template


Old Synopsis: ICE when accessing member template of explicit specialization of outer template
New Synopsis: [parser]ICE when accessing member template of explicit specialization of outer template

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Mon Jun 17 07:22:21 2002
State-Changed-Why:
    ICE confirmed.  Your code is illegal.  The line
      typedef typename Outer<T>::Inner<U>::Type Type;
    should be replaced by
      typedef typename Outer<T>::template Inner<U>::Type Type;
    GCC compiles the correct code without any error.

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


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