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

Name

Description

lhs

left‐hand‐side queue to compare

rhs

right‐hand‐side queue to compare

Created with MrDocs