Possible Duplicate:
Why the sizeof(bool) is not defined to be one, by the Standard itself?
I have tested sizeof(bool)
on several systems and I've always found 1
(same as sizeof(char)
). What are the most widespread systems/c++ compilers where sizeof(bool)
is strictly higher than 1
?