Re: Stack unwinding with Objective C++
Re: Stack unwinding with Objective C++
- Subject: Re: Stack unwinding with Objective C++
- From: Uli Kusterer <email@hidden>
- Date: Mon, 7 Nov 2005 08:21:06 +0100
Am 07.11.2005 um 01:40 schrieb Chris Hanson:
The exception-handling systems are still distinct. The Objective-C
setjmp-based system won't invoke C++ destructors or otherwise
unwind C++ state. That said, between a C++ exception and its
corresponding catch, C++ destructors should be invoked.
And you could write an auto_ptr like C++ class that releases an
Objective-C object in its destructor, too.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden