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

Name

Description

lhs

left‐hand queue to compare

rhs

right‐hand queue to compare

Created with MrDocs