Skip to content

Glossary: Algorithms Beyond the Basics in C++

bit operators

Also written: <<, >>, ~

Operators that work on each bit column separately: `&` (and), `|` (or), `^` (xor), `~` (not), and `<<`/`>>` which shift bits left or right, doubling or halving the number.

Where the book teaches it

Related terms

XORbitmask