LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 175|回复: 0

标准 C++ 关键字

[复制链接]
发表于 2024-1-26 23:32:12 | 显示全部楼层 |阅读模式
alignas
alignof
andb
and_eqb
asma
auto
bitandb
bitorb
bool
break
case
catch
char
char8_tc
char16_t
char32_t
class
complb
conceptc
const
const_cast
constevalc
constexpr

constinitc
continue
co_awaitc
co_returnc
co_yieldc
decltype
default
delete
do
double
dynamic_cast
else
enum
explicit
exportc
extern
false
float
for
friend
goto
if
inline

int
long
mutable
namespace
new
noexcept
notb
not_eqb
nullptr
operator
orb
or_eqb
private
protected
public
register reinterpret_cast
requiresc
return
short
signed
sizeof
static
static_assert

static_cast
struct
switch
template
this
thread_local
throw
true
try
typedef
typeid
typename
union
unsigned
using 声明
using 指令
virtual
void
volatile
wchar_t
while
xorb
xor_eqb

a Microsoft 专用 __asm 关键字替换了 C++ asm 语法。 保留了 asm 以便与其他 C++ 实现兼容,但未成功。 将 __asm 用于 x86 目标上的内联程序集。 Microsoft C++ 不支持其他目标的内联程序集。

b 当指定 /permissive- 或 /Za(禁用语言扩展)时,扩展运算符同义词是关键字。 当启用 Microsoft 扩展时,它们不是关键字。

c 指定 /std:c++20 或更高版本(例如 /std:c++latest)时受支持。

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表