参考 C++ Standards Support in GCC
This mode can be selected with the -std=c++11 command-line flag, or -std=gnu++11 to enable GNU extensions as well.
-std=c++11,支持C++11标准;
-std=gnu++11,支持C++11标准和GNU扩展特性;
本文介绍如何使用GCC编译器支持C++11标准的方法。通过命令行参数-std=c++11来启用C++11标准,或者使用-std=gnu++11同时启用GNU扩展特性。
参考 C++ Standards Support in GCC
This mode can be selected with the -std=c++11 command-line flag, or -std=gnu++11 to enable GNU extensions as well.
-std=c++11,支持C++11标准;
-std=gnu++11,支持C++11标准和GNU扩展特性;
2万+
1万+

被折叠的 条评论
为什么被折叠?