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

Reply via email to