[Bug c++/33165] method name lookup failure in inheritance tree

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 23 19:00:00 GMT 2007



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-08-23 19:00 -------
No, this is correct, f in B hides all of f's in A, no matter what argument
types of f are in A.  You have to add "using A::f;" inside B to get the
behavior you want.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33165



More information about the Gcc-bugs mailing list