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

Pass the specified `input` to the specified `hashAlg`, where `hashAlg` is a hashing algorithm&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;HASHALG,
    class t&lowbar;HEAD,
    class&period;&period;&period; t&lowbar;TAIL&gt;
void
hashAppend(
    t&lowbar;HASHALG& hashAlg,
    xref:bsl/variant.adoc[variant&lt;t&lowbar;HEAD, t&lowbar;TAIL&period;&period;&period;&gt;] const& input);
----


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