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

对着背影说爱祢 提交于 2019-11-26 19:22:42

问题


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?


回答1:


There's a support matrix on the Apache wiki.




回答2:


I think the one Scott Meyers maintains on his homepage is pretty good:

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




回答3:


The llvm C++ compiler "clang" has partial C++11 support; you can see its current state at http://clang.llvm.org/cxx_status.html.




回答4:


There's also GCC C++0x (or C++11) status page : http://gcc.gnu.org/projects/cxx0x.html




回答5:


IBM's xlC++ compiler has a basic C++11 feature support page.




回答6:


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.

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.

Like I said though, when GCC 4.8 hits stable release, it's going to be tight between the two again:

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



来源:https://stackoverflow.com/questions/7232878/c11-compiler-closest-to-the-standard-and-how-close

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!