Short attempt to make a Java-style C++ enum