bitset_detail::operator^

Return an object with the binary XOR between respective bits from a and b.

Synopses

Declared in <util/bitset.h>

Return an object with the binary XOR between respective bits from a and b.

constexpr
IntBitSet
operator^(
    IntBitSet const& a,
    IntBitSet const& b) noexcept;
» more...

Return an object with the binary XOR between respective bits from a and b.

constexpr
MultiIntBitSet
operator^(
    MultiIntBitSet const& a,
    MultiIntBitSet const& b) noexcept;
» more...

Return Value

The symmetric difference of a and b.

Parameters

NameDescription
aThe left-hand bitset.
bThe right-hand bitset.