Re: Hidden Overloaded C++ Virtual Function
Re: Hidden Overloaded C++ Virtual Function
- Subject: Re: Hidden Overloaded C++ Virtual Function
- From: Nick Nallick <email@hidden>
- Date: Sat, 31 Dec 2005 08:39:49 -0700
On Dec 31, 2005, at 6:56 AM, Adin Hunter Baber wrote:
Others have pointed out why you are having a problem. Here's away
to avoid the problem:
Thanks to everyone who responded. I understand now this was a
decision by the language designers to avoid potential errors when
reusing classes.
I was able to avoid the problem like this:
class B : public A
{
virtual void foo(b) {};
using A::foo;
};
Nick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden