template <std::size_t Rank, typename Symmetry> \
struct FusionTree; \
} \
template <int shift, std::size_t Rank, std::size_t CoRank, typename Symmetry> \
struct CacheManager \
{ \
typedef typename Symmetry::Scalar Scalar; \
typedef LRU::Cache<std::tuple<Tree, CoTree, Xped::util::Permutation>, std::unordered_map<std::pair<NewTree, NewCoTree>, Scalar>> CacheType; \
CacheManager(std::size_t cache_size) \
{ \
cache = CacheType(cache_size); \
cache.monitor(); \
} \
CacheType cache; \
}; \
template <int shift, std::size_t Rank, std::size_t CoRank, typename Symmetry> \
CacheManager<shift, Rank, CoRank, Symmetry> VARIABLE_NAME(CACHE_SIZE);
Definition: FusionTree.hpp:24