I believe the new C++ standard allows for an extra "scope" for enumerated types:
enum E { e1, e2 };
E var = E::e1;
Since I know lots of source files containing the old C-style enum typedef, I wondered if the new standard would allow using the typedef for these otherwise anonymous enumerated types:
typedef enum { d1, d2 } D;
D var = D::d1; // error?