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