From the archive
Sunday, 4 October
Folded from 3 sources that day.
Sorted by quality and by how many sources covered it, the same for everyone.
-
The complement of true is true, except when it's false
Explains why bitwise operations on small integer types and bool are promoted to int and how bool conversion differs from truncation. It includes a gcc assembly example and ties this to the C++26 bitmask enum proposal P4313R1.