Enumerator Names

The names of enumerators must be different from any other enumerator or variable in the same scope. However, the values can be duplicated.

See Also

Reference

C++ Enumeration Declarations