参考 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扩展特性;
参考 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扩展特性;