Memory allocation purity

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu May 15 14:33:00 PDT 2014


On 5/15/2014 9:07 AM, Timon Gehr wrote:
> Why? A memoizable function is still memoizable if it is changed internally to
> memoize values in global memory, for example.

I doubt a compiler could prove it was pure.



More information about the Digitalmars-d mailing list