> On Jun 1, 2015, at 9:53 PM, Scott Ribe <[email protected]> wrote: > > On Jun 1, 2015, at 10:43 PM, Britt Durbrow > <[email protected]> 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 protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
