A better bitset for enum flags
Summary
The article critiques using enum-based bitflags and argues for a bitset-based approach in C++. It discusses type safety, ergonomics, and separation of concerns, with serialization considerations. The takeaway is that the bitset approach is preferable for robust, portable bitflag handling, though real-world adoption may encounter integration challenges.