flip

Toggles all the bits in the bitset.

  bitset<N>& flip();
  bitset<N>& flip(size_t pos);
  
Remarks

Returns the modified bitset.