Return the three-way comparison of the specified queues; see the non-member operator<=> in the bsl namespace.
Declared in <bslstl_queue.h>
template<
class VALUE2,
three_way_comparable CONTAINER2>
compare_three_way_result_t<CONTAINER2>
operator<=>(
queue<VALUE2, CONTAINER2> const& lhs,
queue<VALUE2, CONTAINER2> const& rhs);
This function is a hidden friend of queue, declared only inside that class: it can be found only through argument-dependent lookup.
three-way comparison result of the queues
| Name | Description |
|---|---|
| lhs | left-hand queue operand |
| rhs | right-hand queue operand |