bsl::operator<=>

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

Synopsis

Declared in <bslstl_stack.h>

compare_three_way_result_t<CONT>
operator<=>(
    stack<VAL, CONT> const& lhs,
    stack<VAL, CONT> const& rhs);

Return Value

result of the three-way comparison

Parameters

NameDescription
lhsleft-hand stack operand
rhsright-hand stack operand