Macaulay2 Engine
Loading...
Searching...
No Matches

◆ hash_combine()

template<typename T>
void hash_combine ( size_t & seed,
const T & val )
inlinestatic

Definition at line 87 of file schur2.cpp.

88{
89// the typical implementation
90 seed ^= std::hash<T>()(val) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
91}

References T.

Referenced by SchurRing2::computeHashValue().