C++ Class Template Specialization

  • + 0 comments

    This would probably work but the casting of out of range value is undefined behavior. See https://en.cppreference.com/w/cpp/language/enum#Notes