Lumiera  0.pre.03
lib::hash Namespace Reference


Hash implementations usable for the HashIndexed mixin as well as key within std::unordered_map.


class  LuidH
 Hash implementation based on a lumiera unique object id (LUID) When invoking the default ctor, a new LUID is generated. More...
class  Plain
 simple Hash implementation directly incorporating the hash value. More...


void combine (size_t &combinedHash, size_t additionalHash)
 meld the additional hash value into the given base hash value. More...
HashVal hash_value (Plain const &plainHash)
HashVal hash_value (LuidH const &luid_Hash)

Function Documentation

◆ hash_value() [1/2]

HashVal lib::hash::hash_value ( Plain const &  plainHash)

Definition at line 121 of file hash-indexed.hpp.

◆ hash_value() [2/2]

HashVal lib::hash::hash_value ( LuidH const &  luid_Hash)

Definition at line 122 of file hash-indexed.hpp.

◆ combine()

void lib::hash::combine ( size_t &  combinedHash,
size_t  additionalHash 

meld the additional hash value into the given base hash value.

This is the standard formula used by the STL and Boost to combine the hash values of parts into a composite.

Definition at line 71 of file hash-value.h.

Referenced by lumiera::operator!=().

+ Here is the caller graph for this function: