Enum class with type as mixin

后端 未结 0 1424
时光说笑
时光说笑 2020-12-04 16:29

The docs state that it is possible to make an enumeration class whose members are exactly of a certain type by adding that type as a mixin to the enum class:

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