Use C++ exception model in D
David Nadlinger
code at klickverbot.at
Wed Apr 9 01:27:16 PDT 2014
On Wednesday, 9 April 2014 at 07:19:54 UTC, Jacob Carlborg wrote:
> For 64bit, Objective-C uses the same exception handling as C++.
> So I need to somehow be able to catch Objective-C exceptions
> and Objective-C need to be able to catch D exceptions. Although
> I still expect to need to wrap the exceptions, since D code
> won't be expecting to catch instances of NSException, which
> doesn't inherit from Throwable. Same on the Objective-C side.
>
> If D would use the C++ exception handling model I hope that the
> implementation would be a lot simpler.
So, in the last paragraph, you are specifically referring to DMD
on x86_64?
David
More information about the Digitalmars-d
mailing list