Define Enum with strong-typedef CPP

后端 未结 0 1220
渐次进展
渐次进展 2020-12-31 15:52

While defining a network-message struct:

  1. Want to hold the Op field as an Enum (so to limit the allowed values).
  2. Need to keep all fields as unsigned, an
相关标签:
回答
  • 消灭零回复
提交回复
热议问题