Is it possible to mark an enum value as deprecated?
e.g.
enum MyEnum { firstvalue = 0 secondvalue, thirdvalue, // deprecated fourthva
You can use the [[deprecated]] attribute from C++14 on.
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3760.html