Merge pull request #353 from takaken1994/master

C++: Fixed generated header file cannot be compiled when the type of key is enum class