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++/9410: [3.4 regression] inability to access a base classes' member from a templated derived class


Synopsis: [3.4 regression] inability to access a base classes' member from a templated derived class

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Thu Jan 23 00:25:35 2003
State-Changed-Why:
    That's indeed a complexity of C++. A lone identifier (like "a"), that is not obviously template dependent, will be looked
    up at the time the compiler sees the class, not at instantiation
    time. However, at that point, no information about base
    classes is available yet, so it will not find members of
    the base class.
    
    Regards
      Wolfgang

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


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