c++/5376: method name mismatch in derived classes inside a namespace

rodrigc@gcc.gnu.org rodrigc@gcc.gnu.org
Mon Jan 14 05:58:00 GMT 2002


Synopsis: method name mismatch in derived classes inside a namespace

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Mon Jan 14 05:58:43 2002
State-Changed-Why:
    Your code is wrong.
    See "The C++ Programming Language, 3rd ed." by Stroustrup, section 15.2.2 Inheritance and Using-Declarations:
    "Overload resolution is not applied across different scopes.
    In particular, ambiguities between functions from different base classes are not resolved based on
    argument type."
    

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



More information about the Gcc-bugs mailing list