On 10 Mar 2014, at 16:42, Liam Herron <her...@ellington.com> wrote: > Here is an example: > > // c++ code > > class A > { > public: > enum ATypes > { > ONE, > TWO, > THREE > }; > };
That is an enum in a class, which is an entirely different beast. Class enums are a C++11 addition and look like this: enum class ATypes { ONE, TWO, THREE }; Regards, Wichert.
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org https://mail.python.org/mailman/listinfo/cplusplus-sig