bsl::operator<=>

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

Synopsis

Declared in <bslstl_queue.h>

template<
    class VALUE,
    three_way_comparable CONTAINER>
compare_three_way_result_t<CONTAINER>
operator<=>(
    queue<VALUE, CONTAINER> const& lhs,
    queue<VALUE, CONTAINER> const& rhs);

Description

Return the three-way comparison result of the specified lhs and rhs queues by comparing their underlying containers.

Return Value

three-way comparison result of the queues

Parameters

NameDescription
lhsleft-hand queue to compare
rhsright-hand queue to compare