Linux Ubuntu 用c++11编译

加上:

-std=c++11

例如:

g++ test.cpp -o test -std=c++11
原文地址:https://www.cnblogs.com/lxc1910/p/11155903.html