How to query validity of enum class used as bit mask without casting to underlying type

后端 未结 0 1203
广开言路
广开言路 2021-02-15 16:06

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,
    I         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题