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