Lumiera  0.pre.03
»edit your freedom«
hash-value.h File Reference

Go to the source code of this file.

Description

Hash value types and utilities.

This header defines the basic hash value types and provides some simple utilities to support working with hash values.

See also
HashIndexed

Definition in file hash-value.h.

#include <stdlib.h>

Typedefs

typedef size_t HashVal
 a STL compatible hash value
 
typedef lumiera_uidLUID
 a Lumiera UID
 
typedef unsigned char lumiera_uid[16]
 storage for a Lumiera unique ID, based on a 128bit random number
 
typedef lumiera_uidLumieraUid
 

Functions

void combine (size_t &combinedHash, size_t additionalHash)
 meld the additional hash value into the given base hash value. More...
 

Namespaces

 lib
 Implementation namespace for support and library code.
 
 lib::hash
 Hash implementations usable for the HashIndexed mixin as well as key within std::unordered_map.