根据 cppreference 收录,目前有97个关键字,由简单到复杂学习。
以下29个关键字,基本都知道是干啥的:
bool、break、case、catch、char、const、continue、do、double、else、enum、false、float、for、friend、if、int、long、private、protected、public、return、short、signed、switch、throw、true、try、while。。
以下10个关键字,是某些运算符的替代写法(也叫代用记号):
and:&&的替代写法
and_eq:&=的替代写法
bitand:&的替代写法
bitor:| 的替代写法
not:!的替代写法
not_eq:!=的替代写法
or:||的替代写法
or_eq:|=的替代写法
xor:^的替代写法
xor_eq:^=的替代写法



