Report question

Question: Template in C++, why have to use enum