Re: BOOL array
Re: BOOL array
- Subject: Re: BOOL array
- From: Ken Thomases <email@hidden>
- Date: Mon, 15 Sep 2008 17:51:26 -0500
On Sep 15, 2008, at 5:16 PM, Alex Reynolds wrote:
I also wanted to learn a bit about Objective-C++.
What are the issues that involve exceptions? I find that
NSExceptions I have in my larger application still work when I poke
those.
In the 32-bit runtime, Objective-C exceptions and C++ exceptions use
incompatible mechanisms. Objective-C exceptions do not unwind the
stack and invoke destructors of all automatic variables between the
throw and the catch. C++ exceptions, while unwinding the stack, don't
invoke Objective-C @finally clauses. Objective-C exceptions can't be
caught by C++ catch clauses, and vice versa.
In the 64-bit runtime, these limitations have been removed: http://developer.apple.com/releasenotes/Cocoa/RN-ObjectiveC/index.html#/
/apple_ref/doc/uid/TP40004309-DontLinkElementID_11
Cheers,
Ken
_______________________________________________
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