C++Memo  1.0-RC
Generic framework for memoization, providing automatic parallelization.
 All Classes Files Functions
Public Member Functions | Friends | List of all members
cppmemo::CppMemo< Key, Value, KeyHash1, KeyHash2, KeyEqual >::PrerequisitesGatherer Class Reference

The function object gathering prerequisites from the DeclarePrerequisites function passed to an appropriate CppMemo::getValue() overload. More...

#include <cppmemo.hpp>

Public Member Functions

void operator() (const Key &key)
 Gathers a prerequisite. More...
 

Friends

class CppMemo< Key, Value, KeyHash1, KeyHash2, KeyEqual >
 

Detailed Description

template<typename Key, typename Value, typename KeyHash1 = std::hash<Key>, typename KeyHash2 = fcmm::DefaultKeyHash2<Key>, typename KeyEqual = std::equal_to<Key>>
class cppmemo::CppMemo< Key, Value, KeyHash1, KeyHash2, KeyEqual >::PrerequisitesGatherer

The function object gathering prerequisites from the DeclarePrerequisites function passed to an appropriate CppMemo::getValue() overload.

Member Function Documentation

template<typename Key , typename Value , typename KeyHash1 = std::hash<Key>, typename KeyHash2 = fcmm::DefaultKeyHash2<Key>, typename KeyEqual = std::equal_to<Key>>
void cppmemo::CppMemo< Key, Value, KeyHash1, KeyHash2, KeyEqual >::PrerequisitesGatherer::operator() ( const Key &  key)
inline

Gathers a prerequisite.

Parameters
keya prerequisite key

The documentation for this class was generated from the following file: