Re: Looking at self = [super init].
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