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

Name

Description

lhs

left‐hand multimap to compare

rhs

right‐hand multimap to compare

Created with MrDocs