checks flags in bit value
1 auto a = 0b001; 2 auto b = 0b010; 3 auto c = 0b100; 4 auto d = 0b111; 5 assert( hasFlags(d,a,b,c) );
See Implementation
checks flags in bit value