checkedint call removal

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 28 08:53:13 PDT 2014


Daniel Murphy:

> One murky area is that assert(0) is currently used to mean both 
> 'unreachable' and 'unimplemented'.  It's unclear what the 
> compiler is allowed to do with an assert(0) in release mode.

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.

Bye,
bearophile


More information about the Digitalmars-d mailing list