• 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: Synthesized ivar for std::tr1::shared_ptr<MyClass>?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Synthesized ivar for std::tr1::shared_ptr<MyClass>?


  • Subject: Re: Synthesized ivar for std::tr1::shared_ptr<MyClass>?
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 6 May 2010 16:38:58 -0700

On Thu, May 6, 2010 at 4:18 PM, Barry Wark <email@hidden> 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.

It looks like there's just bad news all around with incomplete types
and synthesized instance variables. I found clang crashes when told to
synthesize an instance variable of incomplete type. I wouldn't be
surprised if the interactions between ivar synthesis and the type
system were not completely nailed down.

For reference, the clang bug is http://llvm.org/bugs/show_bug.cgi?id=7064

--Kyle Sluder
_______________________________________________

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

  • Follow-Ups:
    • Re: Synthesized ivar for std::tr1::shared_ptr<MyClass>?
      • From: Barry Wark <email@hidden>
References: 
 >Synthesized ivar for std::tr1::shared_ptr<MyClass>? (From: Barry Wark <email@hidden>)
 >Re: Synthesized ivar for std::tr1::shared_ptr<MyClass>? (From: Sherm Pendley <email@hidden>)
 >Re: Synthesized ivar for std::tr1::shared_ptr<MyClass>? (From: Barry Wark <email@hidden>)

  • Prev by Date: Re: Core Data: *Really* Automatic Migration : Span Multiple Versions
  • Next by Date: [SOLVED] Re: Custom NSPathControl
  • Previous by thread: Re: Synthesized ivar for std::tr1::shared_ptr<MyClass>?
  • Next by thread: Re: Synthesized ivar for std::tr1::shared_ptr<MyClass>?
  • Index(es):
    • Date
    • Thread