【Error】error: ‘decay_t’ is not a member of ‘std’; did you mean ‘decay’? 解决办法 CMakeLists指定c++版本为c++14以上 set( CMAKE_CXX_FLAGS "-std=c++14" ) gcc版本高于4.9以上