Return whether lhs and rhs have the same value.
Synopsis
Declared in <bdlb_variant.h>
template<class TYPES>
bool
operator==(
VariantImp<TYPES> const& lhs,
VariantImp<TYPES> const& rhs);
Description
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.
Return Value
true if lhs and rhs have the same value, and false otherwise
Parameters
Name |
Description |
lhs |
left‐hand operand |
rhs |
right‐hand operand |
Created with MrDocs