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

Synopsis

Declared in <bslstl_set.h>

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

Description

Compare using the comparison operators of KEY on each element; return the result of that comparison.

Return Value

result of the three‐way comparison

Parameters

Name

Description

lhs

first set to compare

rhs

second set to compare

Created with MrDocs