[#BloombergLP-bdlb-operator_eq-0101] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator== :relfileprefix: ../../ :mrdocs: Grant the equality comparison operator access to this class's private members. == Synopsis Declared in `<bdlb_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp<VARIANT_TYPES>] const& lhs, xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp<VARIANT_TYPES>] const& rhs); ---- == Return Value `true` if `lhs` and `rhs` have the same value, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand operand | *rhs* | right‐hand operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#