#include <NaturalCoordinateMemoizer.h>
template<typename TResult , typename TNaturalCoords , typename TCompare = CompareVector<TNaturalCoords>>
ctor
- Parameters
-
function | function for memoization |
template<typename TResult , typename TNaturalCoords , typename TCompare = CompareVector<TNaturalCoords>>
template<typename TResult , typename TNaturalCoords , typename TCompare = CompareVector<TNaturalCoords>>
returns the value of the function for the given arguments.
Repeated calls of Get() with the same arguments will return the memoized result.
- Parameters
-
- Returns
- reference to the 'memoized' result
The documentation for this class was generated from the following file: