Return the three‐way comparison result of the specified lhs and rhs stacks by comparing their underlying containers.
Synopsis
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);
Return Value
result of the three‐way comparison
Parameters
Name |
Description |
lhs |
left‐hand stack operand |
rhs |
right‐hand stack operand |
Created with MrDocs