1 2 3 4 5 6 7 8 9 10
int main(void) { unsigned a = 0x01; bool hmm = bool(a & 64); cout << "Flag is " << (hmm ? "set" : "not set") << "\n"; return 0; }
1
Flag is not set