Incorporate the value of datum into hashAlgorithm.

Synopsis

Declared in <bdld_datum.h>

template<class t_HASH_ALGORITHM>
void
hashAppend(
    t_HASH_ALGORITHM& hashAlgorithm,
    Datum const& datum);

Description

Invoke the specified hashAlgorithm on the value of the specified datum object. Note that the value of a User Defined Type in Datum is a combination of its type integer and the address (pointer value), not the actual value of the object that the pointer points to.

Parameters

Name

Description

hashAlgorithm

hashing algorithm to update

datum

datum whose value is hashed

Created with MrDocs