BPHash
General object hashing library for C++
Classes | Functions
bphash::detail Namespace Reference

Classes

class  detect_hash_free_function
 Detects there is a free function that will hash an object. More...
 
class  detect_hash_member
 Detects if a class has a hash() member function with the appropriate signature. More...
 
struct  detect_pointer_wrapper
 Detects if a type is a PointerWrapper class (and contains a hashable type. More...
 
struct  detect_pointer_wrapper< PointerWrapper< T > >
 
class  HashImpl
 Base class for a hash implementation. More...
 
class  MurmurHash3_128_x64
 Implementation of MurmurHash3 128-bit x64 hash. More...
 
class  MurmurHash3_32_x32
 Implementation of MurmurHash3 32-bit x32 hash. More...
 
class  MurmurHash3_32_x64
 Implementation of MurmurHash3 32-bit x64 hash. More...
 
class  MurmurHash3_64_x64
 Implementation of MurmurHash3 64-bit x64 hash. More...
 

Functions

template<typename Cont >
std::enable_if< is_hashable< typename Cont::value_type >::value, void >::type hash_container_object (const Cont &cont, Hasher &hasher)
 Helper for hashing STL containers. More...
 
template<size_t Idx, typename... Types>
std::enable_if< Idx==sizeof...(Types), void >::type tuple_element_hasher (Hasher &, const std::tuple< Types... > &)
 

Function Documentation

template<typename Cont >
std::enable_if<is_hashable<typename Cont::value_type>::value, void>::type bphash::detail::hash_container_object ( const Cont &  cont,
Hasher hasher 
)

Helper for hashing STL containers.

Definition at line 20 of file ContainerHelper.hpp.

Here is the caller graph for this function:

template<size_t Idx, typename... Types>
std::enable_if<Idx == sizeof...(Types), void>::type bphash::detail::tuple_element_hasher ( Hasher ,
const std::tuple< Types... > &   
)

Definition at line 21 of file tuple.hpp.