[#bsl-operator_eq-09b] = xref:bsl.adoc[bsl]::operator== :relfileprefix: ../ :mrdocs: Return whether the specified queues have the same value; see the non‐member `operator==` in the `bsl` namespace. == Synopsis Declared in `<bslstl_queue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE2, class CONTAINER2> bool operator==( xref:bsl/queue-0a5.adoc[queue<VALUE2, CONTAINER2>] const& lhs, xref:bsl/queue-0a5.adoc[queue<VALUE2, CONTAINER2>] const& rhs); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:bsl/queue-0a5.adoc[queue], declared only inside that class: it can be found only through argument-dependent lookup. ==== == Return Value `true` if the queues have the same value, otherwise `false` == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand queue operand | *rhs* | right‐hand queue operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#