Re: Initialize a subclass object with a base class object
Re: Initialize a subclass object with a base class object
- Subject: Re: Initialize a subclass object with a base class object
- From: "stephen joseph butler" <email@hidden>
- Date: Mon, 19 May 2008 18:04:58 -0500
On Mon, May 19, 2008 at 6:00 PM, stephen joseph butler
<email@hidden> wrote:
> ButtonCell *bCell = getFromSomewhere();
> MyButtonCell *mCell = new MyButtonCell( &bCell );
Ermm... MyButtonCell *mCell = new MyButtonCell( *bCell ); But you knew that :)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden