summaryrefslogtreecommitdiffstats
path: root/src/hash_map.h
blob: 820f773cd4d534231b9551db22dfd15db2fedea1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <ext/hash_map>

using __gnu_cxx::hash_map;

namespace __gnu_cxx {
template<>
struct hash<std::string> {
  size_t operator()(const std::string& s) const {
    return hash<const char*>()(s.c_str());
  }
};
}