c++ 保留字(关键字)是什么意思??

c++ 保留字(关键字)是什么意思??,第1张

所有带__的都是编译器自定义关键字,其它都是c++定义的

vc中的关键字

__abstract 2

abstract

__alignof Operator

array

__asm

__assume

__based

bool

__box 2

break

case

catch

__cdecl

char

class

const

const_cast

continue

__declspec

default

__delegate 2

delegate

delete

deprecated 1

dllexport 1

dllimport 1

do

double

dynamic_cast

else

enum

enum class

enum struct

event

__event

__except

explicit

extern

false

__fastcall

__finally

finally

float

for

for each, in

__forceinline

friend

friend_as

__gc 2

gcnew

generic

goto

__hook 3

__identifier

if

__if_exists

__if_not_exists

initonly

__inline

inline

int

__int8

__int16

__int32

__int64

__interface

interface class

interface struct

interior_ptr

__leave

literal

long

__m64

__m128

__m128d

__m128i

__multiple_inheritance

mutable

naked 1

namespace

new

new

__nogc 2

noinline 1

__noop

noreturn 1

nothrow 1

novtable 1

nullptr

operator

__pin 2

private

__property 2

property

property 1

protected

public

__raise

ref struct

ref class

register

reinterpret_cast

return

safecast

__sealed 2

sealed

selectany 1

short

signed

__single_inheritance

sizeof

static

static_cast

__stdcall

struct

__super

switch

template

this

thread 1

throw

true

try

__try/__except, __try/__finally

__try_cast 2

typedef

typeid

typeid

typename

__unaligned

__unhook 3

union

unsigned

using declaration, using directive

uuid 1

__uuidof

value struct

value class

__value 2

virtual

__virtual_inheritance

void

volatile

__w64

__wchar_t, wchar_t

while


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/8543502.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-17
下一篇 2023-04-17

发表评论

登录后才能评论

评论列表(0条)

保存