libMesh
Loading...
Searching...
No Matches
Classes | Functions
libMesh::boostcopy Namespace Reference

Classes

struct  enable_if_c
 
struct  enable_if_c< false, T >
 

Functions

void hash_combine_impl (std::size_t &seed, std::size_t value)
 
template<typename T >
void hash_combine (std::size_t &seed, const T &value)
 

Function Documentation

◆ hash_combine()

template<typename T >
void libMesh::boostcopy::hash_combine ( std::size_t &  seed,
const T &  value 
)
inline

Definition at line 34 of file hashing.h.

35{
36 using std::hash;
38}
void hash_combine_impl(std::size_t &seed, std::size_t value)
Definition hashing.h:28
static const bool value
Definition xdr_io.C:55

References hash_combine_impl(), and value.

Referenced by std::hash< libMesh::FEType >::operator()(), std::hash< libMesh::Point >::operator()(), libMesh::hash::operator()(), and libMesh::hash::operator()().

◆ hash_combine_impl()

void libMesh::boostcopy::hash_combine_impl ( std::size_t &  seed,
std::size_t  value 
)
inline

Definition at line 28 of file hashing.h.

29{
30 seed ^= value + 0x9e3779b9 + (seed<<6) + (seed>>2);
31}

References value.

Referenced by hash_combine().