[Bug c++/24658] overloaded function lookup in base class fails
thorsten dot gecks at uni-bayreuth dot de
gcc-bugzilla@gcc.gnu.org
Thu Nov 3 16:49:00 GMT 2005
------- Comment #2 from thorsten dot gecks at uni-bayreuth dot de 2005-11-03 16:49 -------
Subject: Re: overloaded function lookup in base class fails
pinskia at gcc dot gnu dot org schrieb:
> ------- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-03 16:03 -------
> This is not a bug, this is how C++ works. The f in D hides the one in C unless
> you add "using C::f;".
>
>
Thank you for the fast reply, but shouldn't the compiler distinguish the
two functions by argument?
Best regards,
TG
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24658
More information about the Gcc-bugs
mailing list