1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef HASH_H #define HASH_H #include <string> using namespace std; struct hash { int operator()(string s_key) const; }; struct hashmap_allocator { bool operator()(string s_key_1, string s_key_2) const; }; #endif