bsl::operator!=

Return whether two stacks have different values.

Synopsis

Declared in <bslstl_stack.h>

bool
operator!=(
    stack<VAL, CONT> const& lhs,
    stack<VAL, CONT> const& rhs);

Description

Same as the non-member operator!= in the bsl namespace.

Return Value

true if the stacks differ, false otherwise

Parameters

NameDescription
lhsleft-hand stack operand
rhsright-hand stack operand