RT
在g++4.7的版本中如果编译时不指定-std=c++11 则不能识别shared_ptr吗?
#include
#include
using namespace std;
int main()
{
shared_ptr< int > p = NULL; //编译不过啊
}
RT
在g++4.7的版本中如果编译时不指定-std=c++11 则不能识别shared_ptr吗?
#include
#include
using namespace std;
int main()
{
shared_ptr< int > p = NULL; //编译不过啊
}