boost::dynamic_bitset::flip

flip overloads

Synopses

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

Toggles the value of every bit in this bitset.

Toggles the bit at position pos in this bitset.

Toggles the bits in the range [pos, pos + len).

Return Value

*this.

Parameters

Name Description

pos

The position of the bit to toggle.

len

The number of bits to toggle.

Preconditions

  • pos < this‐>size().

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

Created with MrDocs