Against enforce()

Kagamin spam at here.lot
Fri Mar 18 00:50:17 PDT 2011


Steven Schveighoffer Wrote:

> As long as the delegate does not access shared/global data, it should be  
> able to be pure.  Even delegates which modify TLS data should be able to  
> be pure (weak-pure, but still pure).

Pure functions calling weakly pure functions are also weakly pure and so on. This effectively leaves you without purity.


More information about the Digitalmars-d mailing list