为什么,在C++中使用这个xor时,
int main() { bitset<4> a=1100, b=0110,c; c = a ^ b; cout << c; return 0; }
结果0100?
c++ xor
c++ ×1
xor ×1