C++的替代运算标记符

标记符and, and_eq, bitand, bitor, compl, not, not_eq, or, or_eq, xor, xor_eq, <%, %>, <: 和 :>都可以用来代替我们常用的&&, &=, &, |, ~, !, !=, ||, |=, ^, ^=, {, }, [ 和 ]。在键盘上缺乏必要的符号时你可以使用这些运算标记符来代替。


今天是第一次主要到这个地方,感觉C++好奇葩

 

posted on 2014-02-23 23:37  Stomach_ache  阅读(316)  评论(0)    收藏  举报

导航