remove flags from bit value
1 auto a = 0b01; 2 auto b = 0b10; 3 auto c = 0b11; 4 assertEq( removeFlags(c,a), b ); 5 assertEq( removeFlags(c,b), a ); 6 assertEq( removeFlags(c,a,b), 0 );
See Implementation
remove flags from bit value