enum class COLOR_ : char
{
RED,
GREEN,
BLUE,
YELLOW
};
int monsternum{ kinds_of_COLOR_*3 };
my enum class COLOR_ may change a lot, during this project.
I want monsternum must be +3 for each kind of COLOR_ how can I know the number of enum_class's kinds?