2 ms·
> In D, if a function is pure, can it call a function that modifies global state? Nope (it would be a useless feature if it could).
by WalterBright 12y ago
> In D, if a function is pure, can it call a function that modifies global state?
Nope (it would be a useless feature if it could).