C++ Enums library