Return the three-way comparison result of the specified lhs and rhs stacks by comparing their underlying containers.
Declared in <bslstl_stack.h>
template<
class VALUE,
three_way_comparable CONTAINER>
compare_three_way_result_t<CONTAINER>
operator<=>(
stack<VALUE, CONTAINER> const& lhs,
stack<VALUE, CONTAINER> const& rhs);
result of the three-way comparison
| Name | Description |
|---|---|
| lhs | left-hand stack operand |
| rhs | right-hand stack operand |