Tech Off Post

Single Post Permalink

View Thread: Enum C# vs C++
  • User profile image
    Sven Groot

    CannotResolveSymbol said:
    Sven Groot said:
    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.
    I see, I haven't been keeping up with the developments in C++0x. It's good to know though. Right now there's no way though.

    VC9 already supports it, but as part as C++/CLI so it only works when compiling with /clr, unfortunately. Hopefully VC10 will support it in regular C++ too, which it might since they announced it'd have some C++0x features iirc.