Generic hash implementation (for easy migration to the new Hash class).
More...
#include </scratch/z5/marcocle/GaudiDocs/lhcb-release/825/GAUDI/GAUDI_v26r3/InstallArea/x86_64-slc6-gcc48-opt/include/GaudiKernel/Hash.h>
template<class T>
struct GaudiUtils::GenericHash< T >
Generic hash implementation (for easy migration to the new Hash class).
Definition at line 30 of file Hash.h.
the generic hash function
Definition at line 34 of file Hash.h.
36 std::size_t len =
sizeof(T) ;
37 const char* p =
reinterpret_cast<const char*
>( &key );
38 while( len-- ) { res = ( res << 1 ) ^ *p; ++p; }
the generic hash function
Definition at line 34 of file Hash.h.
36 std::size_t len =
sizeof(T) ;
37 const char* p =
reinterpret_cast<const char*
>( &key );
38 while( len-- ) { res = ( res << 1 ) ^ *p; ++p; }
The documentation for this struct was generated from the following file:
- InstallArea/x86_64-slc6-gcc48-opt/include/GaudiKernel/Hash.h