A collection of bits organized as an array of bits, in which each bit can be accessed separately.
std::bitset has a to_string() method for serializing as a char-based string of 1s and 0s. Obviously, this uses …