1
![Stack Overflow](http://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png)
I have an enum class I use for bit masking, like so (in Unreal Engine, therefore the uint8 type)
enum class Level : uint8
{
None = 0x0,
Debug = 0x1,
Info = 0x2,
Warning = 0x4,
...
}
I have added inline operators for |, & and ^ such that I can use a member as the actual bitmas...