Disallow side effects in assert

bearophile bearophileHUGS at lycos.com
Tue Feb 4 18:20:53 PST 2014


Marco Leise:

> What would happen to them in release compiles?

Perhaps their body that calls the lazy argument should be wrapped 
in version(assert) {} else {...}.

Bye,
bearophile


More information about the Digitalmars-d mailing list