View Single Post
Old 09-01-2005, 05:25 AM   #27 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
The number "1" I can deduce since so no adress can be smaller then sizeof(char). So
sizeof(bool) >= sizeof(char). Which is basically sizeof(bool) >= 1. But from where in the ISO standard can I deduce that sizeof(bool) <= sizeof(long)?
I realize that many systems implement sizeof(bool) = sizeof(word) to evade a performance hit. But that has nothing to do with the ISO standard.
__________________
Valmont is offline   Reply With Quote