[#BloombergLP-bslstl-Variant_HashVisitor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::Variant&lowbar;HashVisitor
:relfileprefix: ../../
:mrdocs:

This component&hyphen;private class is a visitor that is used to implement `hashAppend` for `bsl&colon;&colon;variant`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;HASHALG&gt;
class Variant&lowbar;HashVisitor;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/Variant_HashVisitor/2constructor.adoc[`Variant&lowbar;HashVisitor`]         [.small]#[constructor]#
| Create a `Variant&lowbar;HashVisitor` object that, when invoked, appends to the specified `hashAlg`&period;
| xref:BloombergLP/bslstl/Variant_HashVisitor/operator_call.adoc[`operator()`] 
| Append the specified `value` (i&period;e&period;, the alternative that is being visited) to `d&lowbar;hashAlg`&period;
|===



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