Tech Off Post

Single Post Permalink

View Thread: Enum C# vs C++
  • User profile image
    Cannot​Resolve​Symbol

    Sven Groot said:
    CannotResolveSymbol said:
    *snip*
    enum class is a construct of C++/CLI, it defines a managed enum type. It is not available in regular C++.

    I don't believe there is a way to do what you want using standard C++. At least not in C++98 or C99.
    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.