The same as in Phobos std.functional.
must be locked explicitly!
must be locked explicitly!
The following code makes cached (memoized) property f
Use it to memoize both a struct or class instance for a member function and function arguments like:
Use it to memoize both a struct or class instance for a member function and function arguments like: