• 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: Looking at self = [super init].
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking at self = [super init].


  • Subject: Re: Looking at self = [super init].
  • From: Britt Durbrow <email@hidden>
  • Date: Tue, 02 Jun 2015 01:48:09 -0700

> On Jun 1, 2015, at 9:53 PM, Scott Ribe <email@hidden> wrote:
>
> On Jun 1, 2015, at 10:43 PM, Britt Durbrow <email@hidden> wrote:
>>
>> So…. it looks like clang at least is doing the right thing and calling the destructor when the variable goes out of scope.
>
> Yep. But I believe with goto you can skip over a constructor--but at least you get a warning.

I just tried… I get an error, not a warning: “Goto into protected scope”.
_______________________________________________

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: Looking at self = [super init]. (From: Dave <email@hidden>)
 >Re: Looking at self = [super init]. (From: Britt Durbrow <email@hidden>)
 >Re: Looking at self = [super init]. (From: Quincey Morris <email@hidden>)
 >Re: Looking at self = [super init]. (From: Charles Srstka <email@hidden>)
 >Re: Looking at self = [super init]. (From: Michael David Crawford <email@hidden>)
 >Re: Looking at self = [super init]. (From: Britt Durbrow <email@hidden>)
 >Re: Looking at self = [super init]. (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Looking at self = [super init].
  • Next by Date: How to debug a binding exception?
  • Previous by thread: Re: Looking at self = [super init].
  • Next by thread: Re: Looking at self = [super init].
  • Index(es):
    • Date
    • Thread