John Regehr on "Use of Assertions"

Trass3r un at known.com
Sun Sep 2 14:26:20 UTC 2018


On Saturday, 1 September 2018 at 20:15:15 UTC, Walter Bright 
wrote:
> Note the "may or may not be evaluated." We've debated this here 
> before. I'm rather pleased that John agrees with me on this.

It shouldn't allow side-effects then though.
https://run.dlang.io/is/P6VnYd

Also a common source of bugs in C.


More information about the Digitalmars-d mailing list