One-byte bool. Why?
Why does a bool require one byte to store true or false where just one bit is enough Because every object in C++ must be individually addressable* (that is, you must be able to have a pointer to it). You cannot address an individual bit (at least not on conventional hardware). How much safer is … Read more