flip [C++ Reference]
Keywords: stl,bitset,flip
Date: 2008-10-14T15:42:06-0700

[[flip]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## flip

Syntax:

        #include <bitset>
        bitset<N>& flip();
        bitset<N>& flip( size_t pos );

The flip() function inverts all of the bits in the bitset, and returns the bitset. If pos is specified, only the bit at position pos is flipped.

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •