bitand
& 运算符的替代项。
语法
#define bitand &
备注
该宏产生运算符
示例
// iso646_bitand.cpp
// compile with: /EHsc
#include <iostream>
#include <iso646.h>
int main( )
{
using namespace std;
int a = 1, b = 2, result;
result = a & b;
cout << result << endl;
result= a bitand b;
cout << result << endl;
}
0
0
要求
标头:<iso646.h>
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈