C++ Bool Type Bob Walton, 7/16/96 C++ has added a new builtin type in recent years, the `bool' type, whose value is either the constant `true' or the constant `false'. The words: bool true false are thus new keywords of the C++ language, and cannot be used in any other way except to denote the boolean data type and the two constants that are its values. The result type of relational operators is bool. The arguments to and results of logical operators (&&, ||, !) are of type bool. Any numeric or address value is converted to type bool by converting zeros to false and non-zeros to true. A value of type bool is converted to an integer by converting false to 0 and true to 1. Both types of conversion may be implicit.