Caligo Mentis

21 Oct 2009

[C++] Self-documenting enums - redux

A followup to my Self-documenting enums article:

I found out that C++0x has a similiar feature to what I proposed in my post: enum classes. It works almost exactly the same, except that the enumerations are not implicitly converted to integers.

C++0x is going to be pretty nice.