Grant the equality comparison operator access to this class's private members.
Synopsis
Declared in <bdlb_variant.h>
template<class VARIANT_TYPES>
bool
operator==(
VariantImp<VARIANT_TYPES> const& lhs,
VariantImp<VARIANT_TYPES> const& rhs);
|
Note
|
This function is a hidden friend of VariantImp_AllocatorBase, declared only inside that class: it can be found only through argument-dependent lookup. |
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