Return whether two stacks have different values.
Synopsis
Declared in <bslstl_stack.h>
template<
class VAL,
class CONT>
bool
operator!=(
stack<VAL, CONT> const& lhs,
stack<VAL, CONT> const& rhs);
|
Note
|
This function is a hidden friend of stack, declared only inside that class: it can be found only through argument-dependent lookup. |
Description
Same as the non‐member operator!= in the bsl namespace.
Return Value
true if the stacks differ, false otherwise
Parameters
Name |
Description |
lhs |
left‐hand stack operand |
rhs |
right‐hand stack operand |
Created with MrDocs