[Issue 19859] std.functional.memoize: Ability to clear the cache

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 12 12:01:54 UTC 2019


--- Comment #1 from Aurelien Fredouelle <aurelien.fredouelle+dlang at gmail.com> ---
Just tried implementing this by making memoize a struct with a static opCall:

However I ran into bug #18289, so this doesn't work as-is.

Any suggestions?


More information about the Digitalmars-d-bugs mailing list