bsl::operator<=>

Perform a lexicographic three-way comparison of lhs and rhs.

Synopsis

Declared in <bslstl_multimap.h>

template<
    class KEY,
    class VALUE,
    class COMPARATOR,
    class ALLOCATOR>
BloombergLP::bslalg::SynthThreeWayUtil::Result<bsl::pair<KEY const, VALUE>>
operator<=>(
    multimap<KEY, VALUE, COMPARATOR, ALLOCATOR> const& lhs,
    multimap<KEY, VALUE, COMPARATOR, ALLOCATOR> const& rhs);

Description

Perform a lexicographic three-way comparison of the specified lhs and the specified rhs maps by using the comparison operators of `bsl::pair<const KEY, VALUE>` on each element; return the result of that comparison.

Return Value

result of the three-way comparison

Parameters

NameDescription
lhsleft-hand multimap to compare
rhsright-hand multimap to compare