45 template<
class _Key>
struct hash;
54 template<
class _Key>
struct hash<_Key*>
58 return size_t(keyPtr);
73 unsigned long __h = 0;
84 template<>
struct hash<const std::string>
97 template<>
struct hash<std::string>
123 template<>
struct hash<const char*>
149 template<>
struct hash<unsigned char>
162 template<>
struct hash<signed char>
188 template<>
struct hash<unsigned short>
214 template<>
struct hash<unsigned int>
240 template<>
struct hash<unsigned long>
size_t __hash_string(const char *__s)
Hash string.
size_t operator()(unsigned char __x) const
size_t operator()(unsigned long __x) const
size_t operator()(unsigned int __x) const
size_t operator()(const std::string &string) const
size_t operator()(const std::string &string) const
size_t operator()(int __x) const
This Hash class and its implementations are taken from the libstdc++ hash_fun.h.
size_t operator()(const char *__s) const
Namespace that holds various utility classes for the engine.
size_t operator()(unsigned char __x) const
size_t operator()(char __x) const
size_t operator()(unsigned short __x) const
size_t operator()(const _Key *keyPtr) const
size_t operator()(long __x) const
size_t operator()(const char *__s) const
size_t operator()(short __x) const