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

Return `true` if `rhs` has the same bit values as this bitset&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
operator&equals;&equals;(xref:bsl/bitset.adoc[bitset] const& rhs) const noexcept;
----

== Description

Return `true` if the specified `rhs` has the same value as this bitset and `false` otherwise&period; Two bitsets have the same value when the sequence and value of bits they hold are the same&period;

== Return Value

`true` if the bitsets are equal, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| bitset to compare with this object
|===


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