这样之后就可以用 Color::Type c = Color::RED; 来定义新的枚举变量了。 ... @brief C++11的枚举类* 下面等价于enum class Color2:int */ enum class ...
確定! 回上一頁