bitand
An alternative to the & operator.
Syntax
#define bitand &
Remarks
The macro yields the operator
Example
// 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
Requirements
Header: <iso646.h>
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för