On Sat, Nov 14, 2009 at 9:53 AM, Clark Cox <[email protected]> wrote: > The one thing to be careful of is exceptions. In 32-bit Mac code, > Obj-C and C++ exceptions are completely unrelated. If an Objective-C > exception is thrown, C++ destructors will *not* be called as the stack > is unwound. Just something to be aware of.
And even in 64-bit code, most of Cocoa is *not* objection-safe. So if you throw an exception through Cocoa stack frames, they won't catch it and clean up after themselves. --Kyle Sluder _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
