version(assert) and Phobos release unittest build

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Thu Nov 28 08:00:56 PST 2013


On 28/11/13 16:58, Joseph Rushton Wakeling wrote:
> But even with version(assert) conditionals in place, the assertThrown is still called.

Come to that, even if I do:

     version(release) {} else { assertThrown(...); }

then the assertThrown is _still_ called even in release mode.


More information about the Digitalmars-d-learn mailing list