bitset_detail::operator==

Equality operators

Synopses

Declared in <util/bitset.h>

Check if bitset a and bitset b are identical.

constexpr
bool
operator==(
    IntBitSet const& a,
    IntBitSet const& b) noexcept = default;
» more...

Test whether we are done (can only compare with IteratorEnd).

constexpr
bool
operator==(
    Iterator const& a,
    IteratorEnd const& end) noexcept;
» more...

Check if bitset a and bitset b are identical.

constexpr
bool
operator==(
    MultiIntBitSet const& a,
    MultiIntBitSet const& b) noexcept = default;
» more...

Test whether we are done (can only compare with IteratorEnd).

constexpr
bool
operator==(
    Iterator const& a,
    IteratorEnd const& end) noexcept;
» more...

Return Value

  • true if a and b have the same bits set.
  • true when no 1 bits remain to iterate.
  • true when all limbs have been iterated.

Parameters

NameDescription
aThe left-hand bitset.
bThe right-hand bitset.
endThe end sentinel to compare against.