C++ keyword: bool
From cppreference.com
[edit] Usage
-
bool
type: as the declaration of the type
[edit] See also
- Fundamental types:
void
, std::nullptr_t(since C++11).- Integral types:
int
. Modifiers:signed
,unsigned
,short
,long
.- Boolean type:
bool
. Boolean literals:false
,true
. - Character types:
char
,char8_t
(since C++20),char16_t
,char32_t
(since C++11),wchar_t
.
- Boolean type:
- Floating-point types:
float
,double
.
- Integral types: