This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24658] overloaded function lookup in base class fails
- From: "thorsten dot gecks at uni-bayreuth dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Nov 2005 16:49:37 -0000
- Subject: [Bug c++/24658] overloaded function lookup in base class fails
- References: <bug-24658-11644@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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