Using c++11 and enum class