boost::dynamic_bitset::flip :: Boost.DynamicBitset

# boost::dynamic_bitset::flip

`flip` overloads

## Synopses

Declared in `<boost/dynamic_bitset/dynamic_bitset.hpp>`

Toggles the value of every bit in this bitset.

    dynamic_bitset&
    flip();

» more...

Toggles the bit at position `pos` in this bitset.

    dynamic_bitset&
    flip(size_type pos);

» more...

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

    dynamic_bitset&
    flip(
        size_type pos,
        size_type len);

» more...

## 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