简体   繁体   English

C ++ 11编译器:最接近标准和接近程度如何?

[英]C++11 Compiler: Closest to the standard and how close?

I'm interested in learning C++ more thoroughly now that C++11 is apparently ratified. 我很感兴趣,因为C ++ 11显然已被批准,因此我更加彻底地学习C ++。 What compiler currently implements the closest thing available to full C++11 support? 什么编译器当前实现了最完整的C ++ 11支持可用的东西? How close is said compiler to full support? 说编译器有多接近完全支持? Are there still major features missing or just language lawyer minutiae? 是否仍然缺少主要功能或只是语言律师细节?

Apache wiki上有一个支持矩阵

I think the one Scott Meyers maintains on his homepage is pretty good: 我认为Scott Meyers在他的主页上保留的非常好:

http://www.aristeia.com/C++0x/C++0xFeatureAvailability.htm http://www.aristeia.com/C++0x/C++0xFeatureAvailability.htm

The llvm C++ compiler "clang" has partial C++11 support; llvm C ++编译器“clang”具有部分C ++ 11支持; you can see its current state at http://clang.llvm.org/cxx_status.html . 您可以在http://clang.llvm.org/cxx_status.html查看其当前状态。

还有GCC C ++ 0x(或C ++ 11)状态页面: http//gcc.gnu.org/projects/cxx0x.html

To anyone reading this now, as of Jan 2013 Clang 3.2 is probably the most complete C++11 compiler, although the latest dev branch of GCC (4.8.x) is going to bring GCC back on par by the looks of it. 对于现在阅读此内容的任何人来说,截至2013年1月,Clang 3.2可能是最完整的C ++ 11编译器,尽管GCC(4.8.x)的最新开发分支将使GCC与其外观相提并论。

http://clang.llvm.org/cxx_status.html http://clang.llvm.org/cxx_status.html

Just look at that support table! 看看那张支持表吧! Epic stuff. 史诗的东西。 That's only accounting for currently available stable versions as well whereas the GCC table contains some 4.8 entries. 这仅仅是当前可用的稳定版本,而GCC表包含4.8个条目。

Like I said though, when GCC 4.8 hits stable release, it's going to be tight between the two again: 就像我说的那样,当GCC 4.8达到稳定发布时,两者之间的关系将会紧张:

http://gcc.gnu.org/projects/cxx0x.html http://gcc.gnu.org/projects/cxx0x.html

IBM的xlC ++编译器具有基本的C ++ 11功能支持页面

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM