Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Clear n-th bit: bit_fld &= ~(1 << n)

Toggle (swap 0<->1) n-th bit: bit_fld ^= (1 << n)

Check if the element is in the vector or list

...