Logical const

bearophile bearophileHUGS at lycos.com
Sun Nov 28 13:39:29 PST 2010


> In another answer I have suggested a built-in @memoize that doesn't change the purity of the function it is applied to (so a strongly immutable function too may be memoized and keeps being strongly pure).

Ignore that, it's better to keep allow the usage of @memoize on strongly pure functions only.

Bye,
bearophile


More information about the Digitalmars-d mailing list