bitset_detail::IntBitSet::operator=

Assignment operators

Synopses

Declared in <util/bitset.h>

Copy assign a bitset.

constexpr
IntBitSet&
operator=(IntBitSet const& other) noexcept = default;
» more...

Assign from a list of positions (which will be made true, all others false).

constexpr
IntBitSet&
operator=(std::initializer_list<unsigned int> ilist) noexcept;
» more...

Return Value

A reference to this bitset.

Parameters

NameDescription
otherThe bitset to copy from.
ilistThe bit positions to set to 1.