Should this be flagged as a warning?

bearophile bearophileHUGS at lycos.com
Wed Sep 26 06:11:19 PDT 2012


Timon Gehr:

> In generic code, it is possible and likely (as pure is inferred 
> for lambdas and template functions) that a pure function ends 
> up being called for potential side effects.

Already tried that :-(

Bye,
bearophile


More information about the Digitalmars-d mailing list