是否有一种模式可以从C++中的另一个枚举继承枚举?
像这样的东西:
enum eBase { one=1, two, three }; enum eDerived: public eBase { four=4, five, six };
c++ enums
c++ ×1
enums ×1