checkedint call removal

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 28 09:24:21 PDT 2014


"bearophile"  wrote in message news:tijfjtihtubozpjojgvl at forum.dlang.org...

> I'd still like to have a halt() in D, and have assert(0) with the same 
> semantics of the other asserts. In many cases when you have a different 
> feature it's good to also give it a different name.

Yes, me too.  The compiler could then still insert halt in place of 
assert(0), but it wouldn't be forced to treat them as a halt in release 
mode.  It may be too late to change assert's behaviour. 



More information about the Digitalmars-d mailing list