[#BloombergLP-bdlb-operator_eq-0101]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Grant the equality comparison operator access to this class&apos;s private members&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
operator&equals;&equals;(
    xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp&lt;VARIANT&lowbar;TYPES&gt;] const&,
    xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp&lt;VARIANT&lowbar;TYPES&gt;] const&);
----


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