- template<typename T>
- struct Map { typedef std::map<Key, EndgameBase<T>*> type; };
-
- typedef Map<Value>::type M1;
- typedef Map<ScaleFactor>::type M2;
+ typedef std::map<Key, EndgameBase<eg_fun<0>::type>*> M1;
+ typedef std::map<Key, EndgameBase<eg_fun<1>::type>*> M2;