BloombergLP::bdlc::operator!=

Return whether the specified queues do not have the same value.

Synopsis

Declared in <bdlc_queue.h>

template<class T>
bool
operator!=(
    Queue<T> const& lhs,
    Queue<T> const& rhs);

Description

Return true if the specified lhs and rhs queues do not have the same value, and false otherwise. Two queues do not have the same value if they have different lengths or differ in at least one index position.

Return Value

true if not equal, and false otherwise

Parameters

NameDescription
lhsleft-hand-side queue to compare
rhsright-hand-side queue to compare