fix missing dlfcn.h include
[rofl0r-df-libgraphics.git] / g_src / bimap.h
blob968f770bf129699e97ed95587ae637b38a9128bc
1 #ifndef BIMAP_H
2 #define BIMAP_H
4 #include <map>
6 template<typename A, typename B>
7 struct bimap {
8 std::map<A,B> left;
9 std::map<B,A> right;
11 void insert(A a, B b) {
12 left.insert(std::pair<A,B>(a,b));
13 right.insert(std::pair<B,A>(b,a));
17 #endif