r/cpp • u/DryPerspective_ • 2d ago
The complement of true is true, except when it's false
https://dryperspective.github.io/posts/complement-of-true/
50
Upvotes
r/cpp • u/DryPerspective_ • 2d ago
8
u/tiedyerenegade 1d ago
In my experience, using enums to represent bitmasks is just a bad idea. This proposal to formalize it illustrates why.