[#BloombergLP-bslh-hashAppend-04c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::hashAppend
:relfileprefix: ../../
:mrdocs:

Pass a sentinel value for `std&colon;&colon;monostate` into the hashing algorithm&period;

== Synopsis

Declared in `&lt;bslh&lowbar;hashvariant&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class HASH&lowbar;ALGORITHM&gt;
void
hashAppend(
    HASH&lowbar;ALGORITHM& algorithm,
    std::monostate const& input);
----

== Description

Pass the special value corresponding to the `std&colon;&colon;monostate` object to the specified `algorithm`&period; This function integrates with the `bslh` modular hashing system and effectively provides a `bsl&colon;&colon;hash` specialization for `std&colon;&colon;monostate`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *algorithm*
| hashing algorithm that combines the monostate sentinel
| *input*
| unused `std&colon;&colon;monostate` value being hashed
|===


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