Boost.DynamicBitset

    • Boost.DynamicBitset
    • Reference
  • boost::dynamic_bitset::flip
arrow_upward

boost::dynamic_bitset::flip

Toggles the bit at position pos in this bitset.

Synopsis

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

dynamic_bitset&
flip(size_type pos);

Return Value

*this.

Parameters

Name Description

pos

The position of the bit to toggle.

Preconditions

  • pos < this‐>size().

Created with MrDocs