bsl::operator<=>

Perform a lexicographic three-way comparison of the specified lhs and the specified rhs pairs by using the comparison operators of T1 and T2; return the result of that comparison.

Synopsis

Declared in <bslstl_pair.h>

template<
    class T1,
    class T2>
constexpr
std::common_comparison_category_t<BloombergLP::bslalg::SynthThreeWayUtil::Result<T1>, BloombergLP::bslalg::SynthThreeWayUtil::Result<T2>>
operator<=>(
    pair<T1, T2> const& lhs,
    pair<T1, T2> const& rhs);