开发者

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

开发者 https://www.devze.com 2023-03-31 07:21 出处:网络
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

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?


There's a support matrix on the Apache wiki.


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

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


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


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


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消