56 #ifndef _BACKWARD_HASH_FUN_H 57 #define _BACKWARD_HASH_FUN_H 1 61 namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
63 _GLIBCXX_BEGIN_NAMESPACE_VERSION
71 __stl_hash_string(
const char* __s)
73 unsigned long __h = 0;
83 operator()(
const char* __s)
const 84 {
return __stl_hash_string(__s); }
88 struct hash<const char*>
91 operator()(
const char* __s)
const 92 {
return __stl_hash_string(__s); }
99 operator()(
char __x)
const 104 struct hash<unsigned char>
107 operator()(
unsigned char __x)
const 112 struct hash<signed char>
115 operator()(
unsigned char __x)
const 123 operator()(
short __x)
const 128 struct hash<unsigned short>
131 operator()(
unsigned short __x)
const 139 operator()(
int __x)
const 144 struct hash<unsigned int>
147 operator()(
unsigned int __x)
const 155 operator()(
long __x)
const 160 struct hash<unsigned long>
163 operator()(
unsigned long __x)
const 167 _GLIBCXX_END_NAMESPACE_VERSION
GNU extensions for public use.