boost::dynamic_bitset::reset

reset overloads

Synopses

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

Resets all the bits in this bitset.

dynamic_bitset&
reset() noexcept;

Resets the bit in this bitset at position pos.

If len is zero, does nothing. Otherwise, resets all the bits in this bitset which have a position in `[pos, pos + len ‐ 1]`.

Return Value

  • *this.

  • this.

Parameters

Name

Description

pos

The position of the bit to reset.

len

The number of bits to reset.

Preconditions

  • pos < this‐>size().

  • pos + len <= this‐>size().

Created with MrDocs