• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hidden Overloaded C++ Virtual Function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Hidden Overloaded C++ Virtual Function (From: Nick Nallick <email@hidden>)
 >Re: Hidden Overloaded C++ Virtual Function (From: Adin Hunter Baber <email@hidden>)

  • Prev by Date: Re: Play Sound when done Compiling?
  • Next by Date: Re: Play Sound when done Compiling?
  • Previous by thread: Re: Hidden Overloaded C++ Virtual Function
  • Next by thread: Symbols appearing even though tagged as hidden
  • Index(es):
    • Date
    • Thread