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++/7218: incorrect 'implicit typename' warnings


Synopsis: incorrect 'implicit typename' warnings

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Thu Jul 11 07:50:00 2002
State-Changed-Why:
    Not a bug.  AA is inside template-parameter dependent
    base class.  When parsing class B, names inside A<T>
    are not looked up.  You have to write
      template<class T>
      struct B : A<T> { typename A<T>::AA a;};

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


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