On 2013-04-08, 13:46, Iain Buclaw wrote:

Only builtins are pure in the sense of 'C'.  Even functions considered
PUREstrong by the frontend may update an internal state, so the rules just don't apply. Except for maybe global functions... In any case, the only benefit you can reap from 'D pure' functions are that they are more likely
to be const-folded / inlined.

What?!?

Please give an example of this. What sort of internal state are we
talking about here?

--
Simen

Reply via email to