On Saturday, May 12, 2012 11:08:28 John Chapman wrote: > Functions you want to memoize have to be visible to > std.functional.memoize, so it only works with public functions. > Is this a bug or merely a bugbear?
If memoize can't call a function, then it can't be memoize. protected functions can only be called by a class in the object hierarchy which has the function, so no, memoize can't call them. You might be able to use a delegate though. - Jonathan M Davis
