Go to the documentation of this file.Go to the SVN repository for this file.
31 #ifndef _STLP_HASH_FUN_H
32 #define _STLP_HASH_FUN_H
34 # ifndef _STLP_CSTDDEF
40 template <
class _Key>
struct hash { };
46 size_t operator()(
unsigned char __x)
const {
return __x; }
48 #ifndef _STLP_NO_SIGNED_BUILTINS
50 size_t operator()(
unsigned char __x)
const {
return __x; }
57 size_t operator()(
unsigned short __x)
const {
return __x; }
63 size_t operator()(
unsigned int __x)
const {
return __x; }
69 size_t operator()(
unsigned long __x)
const {
return __x; }
72 # if defined (_STLP_LONG_LONG)
74 size_t operator()(
long x)
const {
return x; }
77 size_t operator()(
unsigned long x)
const {
return x; }
unsigned int
A callback function used to compare two keys in a database.
#define _STLP_TEMPLATE_NULL
#define _STLP_BEGIN_NAMESPACE
#define _STLP_END_NAMESPACE
size_t operator()(char __x) const
size_t operator()(int __x) const
size_t operator()(long __x) const
size_t operator()(short __x) const
size_t operator()(unsigned char __x) const
size_t operator()(unsigned char __x) const
size_t operator()(unsigned int __x) const
size_t operator()(unsigned long __x) const
size_t operator()(unsigned short __x) const