在Code::Block下使用智能指针时出现这个错误 'shared_ptr' was not declared in this scope 解决方法是Setting->Compiler,所使用的编译器,勾选C++11选项