A Small Enhancement Idea

ponce via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 2 09:40:03 PDT 2015


On Wednesday, 2 September 2015 at 16:28:12 UTC, Jack Stouffer 
wrote:
> I wanted some second opinions on an idea I had for D before I 
> made a bugzilla issue.
>
> Currently in D, to have a statement run only in debug mode, you 
> can mark it with the debug keyword. But, there is currently no 
> way to mark a statement so that it only runs in release. So 
> what I propose is a release statement like so:
>

-release and -debug are decorrelated. Your program can have both 
switch or none of them.



More information about the Digitalmars-d mailing list