4 #include "inspircd_config.h"
7 #include <ext/hash_map>
13 #define nspace __gnu_cxx
23 template<> struct hash<in_addr>
25 template<> struct nspace::hash<in_addr>
28 size_t operator()(const struct in_addr &a) const;
31 template<> struct hash<string>
33 template<> struct nspace::hash<string>
36 size_t operator()(const string &s) const;
44 bool operator()(const string& s1, const string& s2) const;
47 struct InAddr_HashComp
49 bool operator()(const in_addr &s1, const in_addr &s2) const;