Return whether the specified stacks compare lexicographically; see the non-member operator<= in the bsl namespace.
Declared in <bslstl_stack.h>
bool
operator<=(
stack<VAL, CONT> const& lhs,
stack<VAL, CONT> const& rhs);
true if lhs is lexicographically less than or equal to rhs
| Name | Description |
|---|---|
| lhs | left-hand stack operand |
| rhs | right-hand stack operand |