Compare the specified lhs and rhs pairs lexicographically.
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);
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.
result of the lexicographic three-way comparison
| Name | Description |
|---|---|
| lhs | pair on the left side of the comparison |
| rhs | pair on the right side of the comparison |