[#BloombergLP-bdlb-operator_eq-0fc] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` variant object has the same value as the specified `rhs` variant object, and `false` otherwise. Two variant objects have the same value if they are both set and hold objects of the same type and same value, or are both unset. == Synopsis Declared in `<bdlb_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPES> bool operator==( xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp<TYPES>] const& lhs, xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp<TYPES>] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#