[#BloombergLP-bdlb-Variant_EqualityTestVisitor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::Variant_EqualityTestVisitor :relfileprefix: ../../ :mrdocs: This visitor, when invoked as a non‐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_result` member. == Synopsis Declared in `<bdlb_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct Variant_EqualityTestVisitor; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/Variant_EqualityTestVisitor/2constructor.adoc[`Variant_EqualityTestVisitor`] [.small]#[constructor]# | Create an equality‐test visitor comparing against the value in the specified `buffer`. | 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_buffer_p`] | Peer buffer holding the value to compare against (held, not owned). | xref:BloombergLP/bdlb/Variant_EqualityTestVisitor/d_result.adoc[`d_result`] | Stores the result of the equality comparison. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#