• 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: Initialize a subclass object with a base class object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Initialize a subclass object with a base class object (From: Erik Buck <email@hidden>)
 >Re: Initialize a subclass object with a base class object (From: "stephen joseph butler" <email@hidden>)

  • Prev by Date: Re: KVO Response for incomplete paths
  • Next by Date: [ANN] FeedbackReporter framework
  • Previous by thread: Re: Initialize a subclass object with a base class object
  • Next by thread: Re: Initialize a subclass object with a base class object
  • Index(es):
    • Date
    • Thread