00001 #ifndef BIE_hash_map_h
00002 #define BIE_hash_map_h
00003
00004 #define GCC_VERSION (__GNUC__ * 10000 \
00005 + __GNUC_MINOR__ * 100 \
00006 + __GNUC_PATCHLEVEL__)
00007
00008 #if GCC_VERSION < 40300
00009
00010 #include "hash_map_gnu_cxx.h"
00011 #else
00012
00013 #include "hash_map_unordered_map.h"
00014 #endif
00015
00020 struct eqstr
00021 {
00023 bool operator()(const std::string& s1, const std::string& s2) const
00024 {
00025 return s1 == s2;
00026 }
00027 };
00028
00029 using bie::hashers;
00030
00031 #endif// BIE_hash_map_h