Perform a lexicographic three‐way comparison of lhs and rhs.
Synopsis
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);
Description
Compare using the comparison operators of VALUE on each element; return the result of that comparison.
Return Value
result of the three‐way comparison
Parameters
Name |
Description |
lhs |
first list to compare |
rhs |
second list to compare |
Created with MrDocs