Disallow side effects in assert

Daniel Murphy yebbliesnospam at gmail.com
Mon Feb 3 08:41:05 PST 2014


"bearophile"  wrote in message news:qfqkkpkdialejlknrpyx at forum.dlang.org...

> Why do you need that? You can tell that foo() is not strongly pure from 
> its signature. That's enough.

Enough to tell it _might_ have a side effect, not enough to know it _will_. 
The number of false positives would make it near useless. 



More information about the Digitalmars-d mailing list