Lumiera  0.pre.03
»edit your freedom«
lib::hash Namespace Reference

Description

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

Classes

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...
 

Functions

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

◆ combine()

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

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 JobTicket::timeHash().

+ Here is the caller graph for this function: