Return whether the specified queues 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 have the same value, and false otherwise. Two queues have the same value if they have the same length and the same element value at each respective index position.

Return Value

true if equal, and false otherwise

Parameters

Name

Description

lhs

left‐hand‐side queue to compare

rhs

right‐hand‐side queue to compare

Created with MrDocs