add more learning for enum class
add readme for compile sample code under gcc 4.8.2