Lines Matching refs:Ty1
81 template<class Ty1, class Ty2, class Identifier = void>
84 typedef Ty1 KeyTy;
89 static Ty2 map(Ty1 Key) { in map()
97 static Ty1 rmap(Ty2 Key) { in rmap()
98 Ty1 Val; in rmap()
121 static void foreach(std::function<void(Ty1, Ty2)>F) { in foreach()
128 static void foreach_conditional(std::function<bool(const Ty1&, Ty2)>F) { in foreach_conditional()
135 static bool find(Ty1 Key, Ty2 *Val = nullptr) {
145 static bool rfind(Ty2 Key, Ty1 *Val = nullptr) {
159 typedef std::map<Ty1, Ty2> MapTy;
160 typedef std::map<Ty2, Ty1> RevMapTy;
162 void add(Ty1 V1, Ty2 V2) { in add()