[#bsl-operator_eq-0a8]
= xref:bsl.adoc[bsl]::operator&equals;&equals;
:relfileprefix: ../
:mrdocs:

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `multiset` objects `lhs` and `rhs` have the same value if they have the same number of keys, and each element in the ordered sequence of keys of `lhs` has the same value as the corresponding element in the ordered sequence of keys of `rhs`&period; This method requires that the (template parameter) type `KEY` be `equality&hyphen;comparable` (see &lcub;Requirements on `KEY`&rcub;)&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;multiset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class KEY,
    class COMPARATOR,
    class ALLOCATOR&gt;
bool
operator&equals;&equals;(
    xref:bsl/multiset-03.adoc[multiset&lt;KEY, COMPARATOR, ALLOCATOR&gt;] const& lhs,
    xref:bsl/multiset-03.adoc[multiset&lt;KEY, COMPARATOR, ALLOCATOR&gt;] const& rhs);
----


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