c++/9558: subclass cannot find parent members without explicit "this->" in some cases

bangerth@dealii.org bangerth@dealii.org
Mon Feb 3 23:45:00 GMT 2003


Synopsis: subclass cannot find parent members without explicit "this->" in some cases

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Mon Feb  3 23:45:09 2003
State-Changed-Why:
    That's how C++ works -- it's a feature, not a bug, and
    it's called two-stage (or dependent) name lookup.
    
    We really need to get an entry into the non-bugs page about
    this, we are getting far too many reports about this...
    
    W.

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



More information about the Gcc-bugs mailing list