[Issue 8743] Add support for memoizing class methods

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 2 03:08:30 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8743



--- Comment #8 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-10-02 03:08:44 PDT ---
(In reply to comment #6)
> This mixin template is useful. A disadvantage is that it doesn't follow the API
> (usage) of the Phobos memoize. So maybe it needs a different name, like
> memoizeMethod, or something.

Yes. I couldn't make it have the same syntax because of the requirement of the
`this` reference.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list