D 1.076 Alpha for Windows 64 bits, works with VS 2010

David Nadlinger see at klickverbot.at
Mon Oct 1 15:11:28 PDT 2012


On Monday, 1 October 2012 at 04:18:52 UTC, Walter Bright wrote:
> Also, consider that in C++ you can throw any type, such as an 
> int. There is no credible way to make this work reasonably in 
> D, as exceptions are all derived from Exception.

You could just detect C++ exceptions in the SEH handler and wrap 
them in a "ForeignLanguageException" or "CppException" class with 
a "Variant"-type member.

Not saying that this is necessarily an essential feature, though.

David


More information about the Digitalmars-d-announce mailing list