[#bsl-hashAppend-08]
= xref:bsl.adoc[bsl]::hashAppend
:relfileprefix: ../
:mrdocs:

Pass the specified `object` to the specified `hashAlg`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;typeindex&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class HASHALG&gt;
void
hashAppend(
    HASHALG& hashAlg,
    xref:bsl/type_index.adoc[type&lowbar;index] const& object);
----

== Description

This function integrates with the `bslh` modular hashing system and effectively provides a `bsl&colon;&colon;hash` specialization for `type&lowbar;index`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *hashAlg*
| hashing algorithm to update
| *object*
| type&lowbar;index value to incorporate into the hash
|===


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