11 #ifndef GAUDIKERNEL_HASH_H 12 #define GAUDIKERNEL_HASH_H 1 23 #include "boost/functional/hash.hpp" 42 const char* p = reinterpret_cast<const char*>( &key );
44 [](
std::size_t res,
const char&
c ) {
return ( res << 1 ) ^
c; } );
115 inline std::size_t operator()(
const T* key )
const;
120 template <
class T,
unsigned N>
128 template <
class T,
unsigned N>
152 using namespace boost;
158 using namespace boost;
166 boost::hash_combine( seed, *key );
177 #endif // GAUDIKERNEL_HASH_H std::size_t operator()(const T &key) const
the hash-function
std::size_t operator()(T(&key)[N]) const
the hash-function
std::size_t operator()(const T &key) const
the generic hash function
the partial specialization for pointers
std::size_t hash_value(TupleID const &b)
Generic hash implementation (for easy migration to the new Hash class).
std::size_t operator()(const T(&key)[N]) const
the hash-function
Forward declarations for the functions in SerializeSTL.h.