Perform a lexicographic three-way comparison of lhs and rhs.
Declared in <bslstl_deque.h>
template<
class VALUE_TYPE,
class ALLOCATOR>
BloombergLP::bslalg::SynthThreeWayUtil::Result<VALUE_TYPE>
operator<=>(
deque<VALUE_TYPE, ALLOCATOR> const& lhs,
deque<VALUE_TYPE, ALLOCATOR> const& rhs);
Perform a lexicographic three-way comparison of the specified lhs and the specified rhs containers by using the comparison operators of VALUE_TYPE on each element; return the result of that comparison.
result of the three-way comparison
| Name | Description |
|---|---|
| lhs | left-hand deque to compare |
| rhs | right-hand deque to compare |