### bool

Determines whether or not bool, true, and false are treated as keywords.

##### Syntax

#pragma bool on | off | reset

##### Targets

All platforms.

##### Remarks

If you enable this pragma, you can use the standard C++ bool type to represent true and false. Disable this pragma if recognizing bool, true, or false as keywords causes problems in your program.

NOTE This only applies when C++ is enabled using either the Force C++ Compilation option or #pragma cplusplus on.

This pragma corresponds to the Enable bool Support setting , described in “Using the bool Type”. To check this setting, use __option (bool), described in Checking Settings. The default setting is off.