// Bad enum Color { BlueColor, RedColor }; Color myColor = BlueColor; // Good enum class Color { Blue, Red }; Color myColor = Color::Blue;