The Wayback Machine - https://web.archive.org/web/20220424232424/https://en.cppreference.com/w/cpp/header/cstdbool
Namespaces
Variants
Views
Actions

Standard library header <cstdbool>, <stdbool.h>

From cppreference.com
< cpp‎ | header
 
 
 

This header was originally in the C standard library as <stdbool.h>.

Compatibility header, in C defines true, false and bool which are keywords in C++.

Macros

__bool_true_false_are_defined
(C++11)
C compatibility macro constant, expands to integer literal 1
(macro constant) [edit]

[edit] Notes

<cstdbool> is deprecated in C++17 and removed in C++20. Corresponding <stdbool.h> is still available in C++20.