1 IntFlags flags = IntFlag.undef | IntFlag.posOver | IntFlag.negOver;
2
3 flags &= IntFlag.posOver | IntFlag.negOver;
4 assert(!(flags & IntFlag.undef));
5
6 flags -= IntFlag.undef | IntFlag.negOver;
7 assert( flags & IntFlag.posOver);
8 assert(!(flags & IntFlag.negOver));
Test (&), set (|), or unset (-) individual flags.