Exceptional News

Iain Buclaw ibuclaw at ubuntu.com
Mon Feb 11 05:28:56 PST 2013


On 11 February 2013 13:00, David Nadlinger <see at klickverbot.at> wrote:

> 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
>


Rather amusing. :-)

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130211/534cbddb/attachment.html>


More information about the Digitalmars-d mailing list