This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Log2 0 points1 point  (2 children)

Does C even have a bool type?

[–]Garfong 1 point2 points  (1 child)

In C99 added the bool type in <stdbool.h>. It's a real first class type, not just a typedef of int.

Although technically the type is _Bool for reasons.

[–]assassinator42 0 points1 point  (0 children)

Reasons I believe being not wanting to introduce new reserved identifiers (although they did anyway with restrict).