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