assert(0) behavior

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Aug 4 16:31:09 PDT 2015


On 8/4/2015 1:56 PM, Jonathan M Davis wrote:
> I can definitely see an argument that we should be
> printing out something before the HLT instruction in -release mode,

     writeln("Somebody forgot to turn off the water.");
     assert(0);



More information about the Digitalmars-d mailing list