C++ Language/Type/BitwiseRepresentation/BitFlags
Appearance
A variable whose type is std::bitset<5>
stores five bits (five flags), which are individually accessed using array-indexing notation.
Additional information about bit flags (includes interactive examples)