g++对c++0x/c++11的标准支持度
来源:互联网 发布:mac双系统怎么切换 编辑:程序博客网 时间:2024/06/06 05:21
http://gcc.gnu.org/projects/cxx0x.html
C++0x/C++11 Support in GCC
C++0x was the working name of a new ISO C++ standard, which was then released in 2011 as C++11 and introduces a host of new features into the standard C++ language and library. This project seeks to implement new C++11 features in GCC and to make it one of the first compilers to bring C++11 to C++ programmers.
C++11 features are available as part of the "mainline" GCC compiler in the trunk ofGCC's Subversion repository and in GCC 4.3 and later. To enable C++0x support, add the command-line parameter-std=c++0x
to your g++
command line. Or, to enable GNU extensions in addition to C++0x extensions, add-std=gnu++0x
to your g++
command line. GCC 4.7 and later support-std=c++11
and -std=gnu++11
as well.
Important: GCC's support for C++11 is still experimental. Some features were implemented based on early proposals, and no attempt will be made to maintain backward compatibility when they are updated to match the final C++11 standard.
C++11 Language Features
The following table lists new language features that have been accepted into the C++11 standard. The "Proposal" column provides a link to the ISO C++ committee proposal that describes the feature, while the "Available in GCC?" column indicates the first version of GCC that contains an implementation of this feature (if it has been implemented). For the most complete and up-to-date information about new language features in C++11, please see theISO C++ Committee Papers and look for the most recent "State of C++ Evolution" paper by Alisdair Meridith.
For information about C++11 support in a specific version of GCC, please see:
- GCC 4.3 C++0x Status
- GCC 4.4 C++0x Status
- GCC 4.5 C++0x Status
- GCC 4.6 C++0x Status
- GCC 4.7 C++11 Status
- g++对c++0x/c++11的标准支持度
- visual studio 2015对C/C++标准的支持情况
- C/C++ 标准以及各种编译器对标准的支持情况(不断完善中)
- Visual Studio2013的C语言编译器对C99标准的支持情况
- 测试 VS 2010 对 C++ 0x 标准的谨慎支持
- 标准C/C++发展史以及支持该标准的编译器
- g++支持C++11标准
- ClearQuest对Oracle 11g的支持
- C语言对文件操作的支持
- 2.2.2 GNU C对标准C语言的扩展
- centos中g++编译c++II标准的程序
- gcc编译器默认支持的c语言标准
- gcc g++ 支持 c++0x的办法 实现多线程
- g++编译时默认支持C++11的几个配置小方法
- VS2010支持C++11(原来的C++0x标准)
- gcc对标准C/C++语言的扩展
- gcc对标准C/C++语言的扩展
- 我对标准C内存函数的总结
- 2.3.1 Launcher编译与修改
- Unity实例化Prefab in C#
- 作为测试人员,从哪几个方面保证产品质量呢
- 使用rapidxml操作xml~读写文件操作(转)
- Linux帐号管理[下]--用户组管理
- g++对c++0x/c++11的标准支持度
- 突然决定
- VB.NET接口范例ISpeak
- sturt2解决 Error setting expression 'XXX' with value '[Ljava.lang.String;@1dad8
- 远程调用原理与对比(RMI、MINA、ESB、Burlap、Hessian、SOAP、EJB)
- 设计模式六大原则(2):里氏替换原则 .
- Hdu 2602 - Bone Collector
- epoll_wait
- Servlet 精萃