I successfully compiled and ran a program that uses magic_enum using nvc++ 24.5, but enum_count returns 128 (MAGIC_ENUM_RANGE_MAX) regardless of the actual number of elements. Also, enum_name just gives the index of each enum variable, instead of the name.
I successfully compiled and ran a program that uses magic_enum using nvc++ 24.5, but enum_count returns 128 (MAGIC_ENUM_RANGE_MAX) regardless of the actual number of elements. Also, enum_name just gives the index of each enum variable, instead of the name.