[#BloombergLP-bdlb-Variant_EqualityTestVisitor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::Variant&lowbar;EqualityTestVisitor
:relfileprefix: ../../
:mrdocs:

This visitor, when invoked as a non&hyphen;modifiable function object on an instance of some template parameter `TYPE`, tests the equality of the value of that instance and of another instance held in a buffer specified at construction of this visitor, and stores the result into its publicly accessible `d&lowbar;result` member&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct Variant&lowbar;EqualityTestVisitor;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/Variant_EqualityTestVisitor/2constructor.adoc[`Variant&lowbar;EqualityTestVisitor`]         [.small]#[constructor]#
| Create an equality&hyphen;test visitor comparing against the value in the specified `buffer`&period;
| xref:BloombergLP/bdlb/Variant_EqualityTestVisitor/operator_call-0a.adoc[`operator()`] 
| Function call operators
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/Variant_EqualityTestVisitor/d_buffer_p.adoc[`d&lowbar;buffer&lowbar;p`] 
| Peer buffer holding the value to compare against (held, not owned)&period;
| xref:BloombergLP/bdlb/Variant_EqualityTestVisitor/d_result.adoc[`d&lowbar;result`] 
| Stores the result of the equality comparison&period;
|===



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