阅读背景:

解决:function in namespace ‘std’ does not name a type + allocator_/nullptr/dellocator_ was not declared + base operand of ‘->’ has non-pointer type ‘std::vector’ 错误编译时报错(caffe)

来源:互联网 

解决方法,用到了c++11,g++命令需要加上-std=c++11选项

 

附:g++默认的c++标准附:




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: