How to have a variable in header to avoid enum scoping

后端 未结 0 1552
清歌不尽
清歌不尽 2021-01-21 02:59

I\'m trying to set a variable or anything to avoid scoping my enum every single time.

consider this enum:

 enum class event_types
{
    HI        = 1,
             


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