version(assert) and Phobos release unittest build

Dicebot public at dicebot.lv
Thu Nov 28 11:08:34 PST 2013


On Thursday, 28 November 2013 at 19:01:40 UTC, Jonathan M Davis 
wrote:
> The closest you would get would be
>
> version(assert) {}
> else { /* release */ }
>
> - Jonathan M Davis

Which does not work if you also have "-unittest" ;)


More information about the Digitalmars-d-learn mailing list