【转载】C++11 下的关键字

今天T1爆零了,原因是CE??!

为了警醒自己,特地去找了C++11 关键字总结

以下转自 https://www.cnblogs.com/hz-Rockstar/p/11296434.html


STL类:stack,queue,deque,priority_queue,map,set,multiset,bitset,vector

函数类:min,max,swap,sqrt,log,reverse,lower_bound,upper_bound,sort,

  rand,next_permutation,prev_permutation,unique,random_shuffle,shuffle,

  clock,typeof,sizeof,typedef,typedef,existing-type,new-type,typeid,typename

基础操作类:do,for,while,if,else,friend,inline,namespace,operator,return,case,

  default,switch,register,const,break,continue,goto,private,protected,public,

  export,const_cast,dynamic_cast,reinterpret_cast,static_cast

运算类:true,false,and,or,xor,not,new,delete

符号类:x+x,x++,[x],x--,x-x,x^x,x&x,x*x,x/x,x|x,!x,&x,*x,%x,(x),"x",'x',

  x<x,x>x,x.x,x,x,[x],{x},x=x,x==x

变量类:void,int,double,float,bool,signed,unsigned,short,long,long long,char,

  __int128_t,char16_t,char32_t,wchar_t

其他类:alignas,constexpr,decltype,nullptr,noexcept,static_assert,volatile,enum,

  explicit,extern ,mutable,static,template,virtual

特别注意类:x1,y1,x0,y0,hash,try,catch,throw,asm,auto,this,class,using,time,union,div

温馨提醒:

关键字冲撞,CE两行泪。

猜你喜欢

转载自www.cnblogs.com/P-Y-Y/p/12301510.html
今日推荐