Hacker News new | past | comments | ask | show | jobs | submit login

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: