0

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 ?

Community
  • 1
  • 1
Vincent
  • 53,995
  • 57
  • 182
  • 359

0 Answers0