Perform a lexicographic three-way comparison of lhs and rhs.
Declared in <bslstl_list.h>
template<
class VALUE,
class ALLOCATOR>
BloombergLP::bslalg::SynthThreeWayUtil::Result<VALUE>
operator<=>(
list<VALUE, ALLOCATOR> const& lhs,
list<VALUE, ALLOCATOR> const& rhs);
Compare using the comparison operators of VALUE on each element; return the result of that comparison.
result of the three-way comparison
| Name | Description |
|---|---|
| lhs | first list to compare |
| rhs | second list to compare |