C++11 编译器:最接近标准,有多接近?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7232878/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
C++11 Compiler: Closest to the standard and how close?
提问by dsimcha
I'm interested in learning C++ more thoroughly now that C++11 is apparently ratified. What compiler currently implements the closest thing available to full C++11 support? How close is said compiler to full support? Are there still major features missing or just language lawyer minutiae?
既然 C++11 显然已获得批准,我对更彻底地学习 C++ 很感兴趣。哪个编译器当前实现了最接近完全 C++11 支持的东西?所说的编译器离完全支持有多近?是否仍然缺少主要功能或只是语言律师的细节?
回答by Cat Plus Plus
There's a support matrixon the Apache wiki.
Apache wiki 上有一个支持矩阵。
回答by sbi
I think the one Scott Meyers maintains on his homepage is pretty good:
我认为 Scott Meyers 在他的主页上维护的一个非常好:
回答by Geoffroy
There's also GCC C++0x (or C++11) status page : http://gcc.gnu.org/projects/cxx0x.html
还有 GCC C++0x(或 C++11)状态页面:http: //gcc.gnu.org/projects/cxx0x.html
回答by Richard
The llvm C++ compiler "clang" has partial C++11 support; you can see its current state at http://clang.llvm.org/cxx_status.html.
llvm C++ 编译器“clang”有部分 C++11 支持;你可以在http://clang.llvm.org/cxx_status.html看到它的当前状态。
回答by IanGilham
IBM's xlC++compiler has a basic C++11 feature support page.
IBM 的 xlC++编译器有一个基本的C++11 特性支持页面。
回答by Elliott
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 达到稳定版本时,两者之间将再次紧张: