Need to use enum class as array index. C-style array index must be int, can also be implicitly converted to int. No implicit conversio
enum class
int