C++ 保留字(关键字)

C++关键字

关键字是组成编程语言词汇表的标识符,他们不能用于其他用途,如用作变量名。其中粗体显示的关键字是原先ANSI C99标准中的关键字。

alignas alignof asm auto bool
break case catch char char16_t
char32_t class const const_cast constexpr
continue decltype default delete do
double dynamic_cast else enum explicit
export extern false float for
friend goto if inline int
long mutable namespace new noexcept
nullptr operator private protected public
register reinterpret_cast return short signed
sizeof static static_assert static_cast struct
switch template this thread_local throw
true try typedef typeid typename
union unsigned using virtual void
volatile wchar_t while
发布了15 篇原创文章 · 获赞 4 · 访问量 464

猜你喜欢

转载自blog.csdn.net/benobug/article/details/105092534