bsl::operator<=>

Return the lexicographic three-way comparison of lhs and rhs.

Synopsis

Declared in <bslstl_multiset.h>

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

Description

Perform a lexicographic three-way comparison of the specified lhs and the specified rhs multisets by using the comparison operators of KEY on each element; return the result of that comparison.

Return Value

three-way comparison result of the two multisets

Parameters

NameDescription
lhsleft-hand multiset to compare
rhsright-hand multiset to compare