https://issues.dlang.org/show_bug.cgi?id=19859
--- Comment #1 from Aurelien Fredouelle <[email protected]> --- 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? --
