bsl::operator==

Return true if the specified lhs and rhs pair objects have the same value and false otherwise. lhs has the same value as rhs if lhs.first == rhs.first and lhs.second == rhs.second. A call to this operator will not compile unless both T1 and T2 supply operator==.

Synopsis

Declared in <bslstl_pair.h>

template<
    class T1,
    class T2>
constexpr
bool
operator==(
    pair<T1, T2> const& lhs,
    pair<T1, T2> const& rhs);