A C++ memoization library