Re: Synthesized ivar for std::tr1::shared_ptr<MyClass>?
Re: Synthesized ivar for std::tr1::shared_ptr<MyClass>?
- Subject: Re: Synthesized ivar for std::tr1::shared_ptr<MyClass>?
- From: Greg Parker <email@hidden>
- Date: Fri, 7 May 2010 12:29:32 -0700
On May 6, 2010, at 4:18 PM, Barry Wark wrote:
> Thank you all for the suggestions. Using manual dynamic memory
> allocation somewhat defeats the purpose of using smart pointers, but
> it looks like that's the only option for now. For reference, I've
> filed this as rdar://7953539, but would be happy to be shown the error
> of my ways.
Is there some reason why you can't declare your instance variables explicitly, and tell @synthesize to use that ivar in the synthesized accessor methods?
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
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