Return whether two stacks have different values.
Declared in <bslstl_stack.h>
bool
operator!=(
stack<VAL, CONT> const& lhs,
stack<VAL, CONT> const& rhs);
Same as the non-member operator!= in the bsl namespace.
true if the stacks differ, false otherwise
| Name | Description |
|---|---|
| lhs | left-hand stack operand |
| rhs | right-hand stack operand |