Sorry, I should have been more explicit. FLAG_A, etc are C-style positive signed integer #defines, like:
#define FLAG_A 0x0001
#define FLAG_B 0x0002
#define FLAG_C 0x0004
Thus we cannot unfortunately define a bitwise operator for them.
#define FLAG_A 0x0001
#define FLAG_B 0x0002
#define FLAG_C 0x0004
Thus we cannot unfortunately define a bitwise operator for them.