assert(0) behavior
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Tue Aug 4 13:23:54 PDT 2015
On 8/4/2015 4:53 AM, Steven Schveighoffer wrote:
> Any assert(0) in druntime or phobos with a message printed is an error. It's
> compiled in release mode.
When you're debugging phobos, you aren't compiling in release mode.
But I've also been of the opinion, not widely shared, that any programmer
supplied messages in asserts are pointless.
More information about the Digitalmars-d
mailing list