halt with optional message?

Vladimir Panteleev vladimir at thecybershadow.net
Thu Aug 11 04:04:22 PDT 2011


On Thu, 11 Aug 2011 14:00:03 +0300, bearophile <bearophileHUGS at lycos.com>  
wrote:

> Is it possible, and is it a good/wise idea to modify D a bit so that in  
> release mode this:

Assert reasons should never be in release executables. Release executables  
are often meant for redistribution and shouldn't contain messages intended  
for debugging. A simple function would be better suited for this, I think.

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d mailing list