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++/5376: method name mismatch in derived classes inside a namespace


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


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