Return whether the specified queues have the same value; see the non‐member operator== in the bsl namespace.

Synopsis

Declared in <bslstl_queue.h>

bool
operator==(
    queue<VALUE2, CONTAINER2> const& lhs,
    queue<VALUE2, CONTAINER2> const& rhs);

Return Value

true if the queues have the same value, otherwise false

Parameters

Name

Description

lhs

left‐hand queue operand

rhs

right‐hand queue operand

Created with MrDocs