[#bitset_detail-operator_eq-0b]
= xref:bitset_detail.adoc[bitset&lowbar;detail]::operator&equals;&equals;
:relfileprefix: ../
:mrdocs:

Equality operators

== Synopses

Declared in `&lt;util&sol;bitset&period;h&gt;`

Check if bitset a and bitset b are identical&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
xref:bitset_detail/operator_eq-0a.adoc[operator&equals;&equals;](
    xref:bitset_detail/IntBitSet.adoc[IntBitSet] const& a,
    xref:bitset_detail/IntBitSet.adoc[IntBitSet] const& b) noexcept = default;
----

[.small]#xref:bitset_detail/operator_eq-0a.adoc[_» more&period;&period;&period;_]#

Test whether we are done (can only compare with IteratorEnd)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
xref:bitset_detail/operator_eq-05.adoc[operator&equals;&equals;](
    xref:bitset_detail/IntBitSet.adoc[Iterator] const& a,
    xref:bitset_detail/IntBitSet.adoc[IteratorEnd] const& end) noexcept;
----

[.small]#xref:bitset_detail/operator_eq-05.adoc[_» more&period;&period;&period;_]#

Check if bitset a and bitset b are identical&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
xref:bitset_detail/operator_eq-0f.adoc[operator&equals;&equals;](
    xref:bitset_detail/MultiIntBitSet.adoc[MultiIntBitSet] const& a,
    xref:bitset_detail/MultiIntBitSet.adoc[MultiIntBitSet] const& b) noexcept = default;
----

[.small]#xref:bitset_detail/operator_eq-0f.adoc[_» more&period;&period;&period;_]#

Test whether we are done (can only compare with IteratorEnd)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
xref:bitset_detail/operator_eq-00.adoc[operator&equals;&equals;](
    xref:bitset_detail/MultiIntBitSet.adoc[Iterator] const& a,
    xref:bitset_detail/MultiIntBitSet.adoc[IteratorEnd] const& end) noexcept;
----

[.small]#xref:bitset_detail/operator_eq-00.adoc[_» more&period;&period;&period;_]#

== Return Value

* true if a and b have the same bits set&period;
* true when no 1 bits remain to iterate&period;
* true when all limbs have been iterated&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| The left&hyphen;hand bitset&period;
| *b*
| The right&hyphen;hand bitset&period;
| *end*
| The end sentinel to compare against&period;
|===


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