Exceptional News

Sönke Ludwig sludwig at outerproduct.org
Mon Feb 11 08:58:58 PST 2013


Am 11.02.2013 14:00, schrieb David Nadlinger:
> Looks like we are finally getting somewhere. :)
> 
> ---
> version (Windows) {} else static assert(false);
> void main() {
>     try {
>         throw new Exception("This exception...");
>     } catch (Exception e) {
>         import std.stdio;
>         writeln(e.msg, " ... has been caught for you by ", __VENDOR__, ".");
>     }
> }
> ---
> This exception... ... has been caught for you by LDC.
> ---
> 
> David

Great news!

How is it implemented? SEH? Did LLVM get any recent additions in this area?


More information about the Digitalmars-d mailing list