Re: Objective-C++ and exceptions
Re: Objective-C++ and exceptions
- Subject: Re: Objective-C++ and exceptions
- From: "Jonathan 'Wolf' Rentzsch" <email@hidden>
- Date: Sun, 14 Nov 2004 22:23:15 -0600
Mark Alldritt, email@hidden, wrote:
>Has anyone released any macros/classes for mapping Objective-C exceptions
>into C++ exceptions and back again?
Yes. The two big public options are my NSXException and Murret+Pontious'
Membrane:
<http://cvs.sourceforge.net/viewcvs.py/redshed/NSXException/> (code
[NSXException.h])
<http://rentzsch.com/nsxexception/doxygen/> (docs)
<http://rentzsch.com/links/objcppExceptionHandlingWithMembrane>
<http://www.helpfultiger.com/helpfultiger/2004/03/knowing_your_bo.html>
<http://umbar.com/membrane/>
Membrane is more advanced than my solution, but it's more complicated and
drags in boost. I think mine may leak memory, and also makes a bad
assumption that the C++ exceptions all inherit from std::exception.
| Jonathan 'Wolf' Rentzsch http://rentzsch.com
| Red Shed Software http://redshed.net
| "better" necessarily means "different"
_______________________________________________
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