std::bitset::flip (3) Linux Manual Page
std::bitset<N>::flip – std::bitset<N>::flip Synopsis bitset<N>& flip(); (until C++11) bitset<N>& flip() noexcept; (1) (since C++11) bitset<N>& flip( std::size_t pos ); (2) Flips bits, i.e. changes true values to false and false values to true. Equivalent to a logical NOT operation on part or all of the bitset. 1) Flips all bits (like operator~, but in-place) 2)…
