4 #include <boost/smart_ptr.hpp>
9 template<
typename AResult,
class Functor,
typename AArgument>
14 Cache(
const Functor*
const functorPtr,
const unsigned int maxSize)
38 while (curr !=
nullptr) {
39 Node*
const node = curr;
65 if (curr->
arg == arg) {
AResult operator()(const AArgument &arg)
boost::shared_ptr< const Functor > fFunctorPtr
Cache & operator=(const Cache &other)
Cache(const Cache &other)
Cache(const Functor *const functorPtr, const unsigned int maxSize)