基本同意tangshuiling
http://kolpackov.net/projects/c++/enum/
In The Design and Evolution of C++ Bjarne Stroustrup gives interesting details about the
history of enumerations in C and C++. Apparently, they were not part of
the original C design and were reluctantly added later. Bjarne also admits
that he was not very interested in enumerations as a feature and added
them with some minor modifications needed to fit into the concept of
user-defined types. It should not be a surprise, therefore, that enumeration
types abound in all sorts of little defects and inconveniences.