Re:Fixing a 37-year-old bug by merging a 22-year-old fix
by ambrop7 on Wednesday October 08, 2014 @06:50PM
(#8429872)
That is not correct. In C99, _Bool (and the typedef bool) are special, because when any value is converted to _Bool, the result is 0 or 1 (!!x). Although the standard does not explicitly say that _Bool can only hold anything other than 0 and 1 (only that it is capable of representing these values), this seems to be the case, effectively.
[ Parent
| on HN ]
There are no comments on this comment yet.