[#BloombergLP-bdld-hashAppend]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::hashAppend
:relfileprefix: ../../
:mrdocs:

Incorporate the value of `datum` into `hashAlgorithm`&period;

== Synopsis

Declared in `&lt;bdld&lowbar;datum&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;HASH&lowbar;ALGORITHM&gt;
void
hashAppend(
    t&lowbar;HASH&lowbar;ALGORITHM& hashAlgorithm,
    xref:BloombergLP/bdld/Datum.adoc[Datum] const& datum);
----

== Description

Invoke the specified `hashAlgorithm` on the value of the specified `datum` object&period; 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&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *hashAlgorithm*
| hashing algorithm to update
| *datum*
| datum whose value is hashed
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
