Why do people use enums in C++ as constants while they can use const?
Why do people use enums in C++ as constants when they can use const?
Solution
An enumeration implies a set of related constants, so the added information about the relationship must be useful in their model of the problem at hand.