Quantcast
Channel: Why is there no minimum size of bool data type? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Chris Zhang for Why is there no minimum size of bool data type?

Theoretically, a boolean's size need only be a single bit but in memory allocation, types need to be aligned in a way to be compatible with other types and filler bitsare sometimes used on different...

View Article


Why is there no minimum size of bool data type?

I was reading C++ Primer and came across a table containing the minimum guaranteed size of data types of C++, in that it was written that the minimum size of bool is not guaranteed.Is there any...

View Article

Browsing all 2 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>