Thread overview
[Issue 19859] std.functional.memoize: Ability to clear the cache
Dec 17, 2022
Iain Buclaw
May 12, 2019
https://issues.dlang.org/show_bug.cgi?id=19859

--- Comment #1 from Aurelien Fredouelle <aurelien.fredouelle+dlang@gmail.com> ---
Just tried implementing this by making memoize a struct with a static opCall: https://github.com/dlang/phobos/compare/master...AurelC2G:19859-memoize-cache-clear

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

Any suggestions?

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=19859

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
December 01
https://issues.dlang.org/show_bug.cgi?id=19859

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/phobos/issues/10371

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--