For one who has never written a line of C++11, and who has, at the moment, no opportunity to program in C++11, can you, in one short paragraph., tell me:
What is an
In relation to point one 1, the storage size of enum
s would change before C++11 depending on the largest value assigned to an enumeration. Usually it doesn't matter so much, but when it does you have to resort to ugly hacks to force the size.
As for point 3, in C++11 enum
s are not implicitly convertible or comparable to int
s or other enum
types: useful for avoiding function overloading headaches and other implicit conversion gotchas.