enum class is planned for C++ 0x; when I pulled up the C++ standard, I grabbed the latest draft instead of the current version... my mistake.Sven Groot said:enum class is a construct of C++/CLI, it defines a managed enum type. It is not available in regular C++.CannotResolveSymbol said:*snip*
I don't believe there is a way to do what you want using standard C++. At least not in C++98 or C99.