bsl::operator<=>

Return the three-way comparison of the specified queues; see the non-member operator<=> in the bsl namespace.

Synopsis

Declared in <bslstl_queue.h>

compare_three_way_result_t<CONTAINER2>
operator<=>(
    queue<VALUE2, CONTAINER2> const& lhs,
    queue<VALUE2, CONTAINER2> const& rhs);

Return Value

three-way comparison result of the queues

Parameters

NameDescription
lhsleft-hand queue operand
rhsright-hand queue operand