Return true if the specified lhs and rhs are both valueless by exception or if they have the same active alternative and their contained values compare equal; otherwise, return false. All alternatives shall support operator==.
Synopsis
Declared in <bslstl_variant.h>
template<
class t_HEAD,
class... t_TAIL>
bool
operator==(
variant<t_HEAD, t_TAIL...> const& lhs,
variant<t_HEAD, t_TAIL...> const& rhs);
Created with MrDocs