halt with optional message?

Timon Gehr timon.gehr at gmx.ch
Thu Aug 11 06:54:41 PDT 2011


bearophile wrote:
> void foo() pure {
>     puts("message");
>     assert(0);
> }

BTW, that that function is any less pure than

void foo() pure {
    assert(0);
}

Is imho just a QOI issue.


More information about the Digitalmars-d mailing list