Glossary: Algorithms Beyond the Basics in C++
bitmask
Also written: flag, flags, bitmasks
A number whose individual bits stand for on/off options, like grind, gift wrap and express on an order; each single option is a flag. You set flags with `|`, test with `&` and clear with `& ~`.