Appendix A: C++ Keywords/Reserved words
Hussam Ghunaim, Ph.D.
C++ has a set of keywords that are used by the language system. Programmers should not use these reserved words as variable names or function names or anything else besides their original meaning. (source: Keywords (C++) | Microsoft Learn)
Standard C++ keywords
alignas
alignof
and
and_eq
asm
auto
bitand
bitor
bool
break
case
catch
char
char8_t
char16_t
char32_t
class
compl
concept
const
const_cast
consteval
constexpr
constinit
continue
co_await
co_return
co_yield
decltype
default
delete
do
double
dynamic_cast
else
enum
explicit
export
extern
false
float
for
friend
goto
if
inline