In order to use
std::bitset you will have to include
std::bitset overloads all of the operator functions to allow the same usage as the c-style handling of bitsets.
Bit Manipulation Application: Small to Capital Letter
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0