Go to the documentation of this file.
23 #ifndef OVERSIM_MAPSET_H_
24 #define OVERSIM_MAPSET_H_
26 #if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2))
27 #define HAVE_GCC_TR1 1
30 #if defined(HAVE_GCC_TR1)
32 #include <tr1/unordered_map>
33 #include <tr1/unordered_set>
35 #define UNORDERED_MAP std::tr1::unordered_map
36 #define UNORDERED_MULTIMAP std::tr1::unordered_multimap
37 #define UNORDERED_SET std::tr1::unordered_set
38 #define HASH_NAMESPACE std::tr1
40 #elif defined(HAVE_MSVC_TR1)
42 #include <tr1/unordered_map>
43 #include <tr1/unordered_set>
45 #define UNORDERED_MAP std::tr1::unordered_map
46 #define UNORDERED_MULTIMAP std::tr1::unordered_multimap
47 #define UNORDERED_SET std::tr1::unordered_set
48 #define HASH_NAMESPACE std::tr1
55 #define UNORDERED_MAP stdext::hash_map
56 #define UNORDERED_MULTIMAP stdext::hash_multimap
57 #define UNORDERED_SET stdext::hash_set
58 #define HASH_NAMESPACE stdext
62 #include <ext/hash_map>
63 #include <ext/hash_set>
65 #define UNORDERED_MAP __gnu_cxx::hash_map
66 #define UNORDERED_MULTIMAP __gnu_cxx::hash_multimap
67 #define UNORDERED_SET __gnu_cxx::hash_set
68 #define HASH_NAMESPACE __gnu_cxx