Return whether the specified queues have the same value.
Declared in <bdlc_queue.h>
template<class T>
bool
operator==(
Queue<T> const& lhs,
Queue<T> const& rhs);
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.
true if equal, and false otherwise
| Name | Description |
|---|---|
| lhs | left-hand-side queue to compare |
| rhs | right-hand-side queue to compare |