[#BloombergLP-bdlc-operator_eq-0b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Return whether the specified queues have the same value&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;queue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class T&gt;
bool
operator&equals;&equals;(
    xref:BloombergLP/bdlc/Queue.adoc[Queue&lt;T&gt;] const& lhs,
    xref:BloombergLP/bdlc/Queue.adoc[Queue&lt;T&gt;] const& rhs);
----

== Description

Return `true` if the specified `lhs` and `rhs` queues have the same value, and `false` otherwise&period; Two queues have the same value if they have the same length and the same element value at each respective index position&period;

== Return Value

`true` if equal, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| left&hyphen;hand&hyphen;side queue to compare
| *rhs*
| right&hyphen;hand&hyphen;side queue to compare
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
