c++/9410: [3.4 regression] inability to access a base classes' member from a templated derived class

bangerth@dealii.org bangerth@dealii.org
Thu Jan 23 00:32:00 GMT 2003


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



More information about the Gcc-bugs mailing list