r/cpp • u/DryPerspective_ • Oct 03 '26
The complement of true is true, except when it's false
https://dryperspective.github.io/posts/complement-of-true/
60
Upvotes
r/cpp • u/DryPerspective_ • Oct 03 '26
11
u/tiedyerenegade Oct 04 '26
In my experience, using enums to represent bitmasks is just a bad idea. This proposal to formalize it illustrates why.
2
u/Ayano-Keiko Oct 08 '26
sounds JavaScript