C++关键字

C++关键字共有84个

alignas (c++11)

char

do

goto

operator

static

typeid

alignof (c++11)

char16_t (c++11)

double

if

or

static_assert (c++11)

typename

and

char32_t (c++11)

dynamic_cast

inline

or_eq

static_cast

union

and_eq

class

else

int

private

struct

unsigned

asm

compl

enum

long

protected

switch

using

auto

const

explicit

mutable

public

template

virtual

bitand

constexpr (c++11)

export

namespace

register

this

void

bitor

const_cast (c++11)

extern

new

reinterpret_cast

thread_local (c++11)

volatile

bool

continue

false

noexcept (c++11)

return

throw

wchar_t

break

decltype (c++11)

float

not

short

true

while

case

default

for

not_eq

signed

try

xor

catch

delete

friend

nullptr (c++11)

sizeof

typedef

xor_eq

override 和 final 在某些语境有特殊含义

原文地址:https://www.cnblogs.com/chenkkkabc/p/3052372.html