views:

148

answers:

0

Possible Duplicate:
forward/strong enum in VS2010

This question pointed to a wiki page for C++0x support which lists Strongly typed enums as Partially supported in VS10.

However the following is a compilation error:

enum class boolean { no, yes, maybe };

Any idea what constitutes partial support when the basic syntax isn't accepted?


Compilation error message:

error C2332: 'enum' : missing tag name
error C2236: unexpected 'class' 'boolean'. Did you forget a ';'?