From commits-return-3778-apmail-stdcxx-commits-archive=stdcxx.apache.org@stdcxx.apache.org Fri May 18 02:51:23 2012 Return-Path: X-Original-To: apmail-stdcxx-commits-archive@www.apache.org Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 25FF19624 for ; Fri, 18 May 2012 02:51:23 +0000 (UTC) Received: (qmail 92527 invoked by uid 500); 18 May 2012 02:51:23 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 92475 invoked by uid 500); 18 May 2012 02:51:22 -0000 Mailing-List: contact commits-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list commits@stdcxx.apache.org Received: (qmail 92326 invoked by uid 99); 18 May 2012 02:51:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 02:51:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_FRT_LITTLE X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 02:51:17 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 78FD81F6; Fri, 18 May 2012 02:50:56 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Fri, 18 May 2012 02:50:56 -0000 Message-ID: <20120518025056.80781.57799@eos.apache.org> Subject: =?utf-8?q?=5BStdcxx_Wiki=5D_Update_of_=22C++0xCompilerSupport=22_by_Micha?= =?utf-8?q?elWong?= Auto-Submitted: auto-generated Dear Wiki user, You have subscribed to a wiki page or wiki category on "Stdcxx Wiki" for ch= ange notification. The "C++0xCompilerSupport" page has been changed by MichaelWong: http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport?action=3Ddiff&rev1= =3D99&rev2=3D100 Comment: updated with latest IBM xlC++ V12.1 just released The following table lists C++0x features and their support in popular com= pilers. - = - ||||||||||||||||||||||||Status Of C++ 0= x Language Features in Compilers || + ||||||||||||||||||||||||Status Of C++ = 0x Language Features in Compilers || - ||C++ 0x FEAT= URE ||<12%>PAPER(S) ||HP aCC ||EDG eccp ||[[http://gcc.gnu.org/projects/cxx= 0x.html|GCC]] ||[[http://software.intel.com/en-us/articles/c0x-features-sup= ported-by-intel-c-compiler/|Intel C++]] ||[[http://blogs.msdn.com/b/vcblog/= archive/2011/09/12/10209291.aspx|MSVC]] ||[[http://www.ibm.com/software/awd= tools/xlcpp/aix/features/?S_CMP=3Drnav|IBM XLC++]] ||Sun/ Oracle C++ ||C++ = Builder 2009/10 ||Digital Mars C++ ||[[http://clang.llvm.org/cxx_status.htm= l|Clang]] || + ||C++ 0x FEA= TURE ||<12%>PAPER(S) ||HP aCC ||EDG eccp ||[[http://gcc.gnu.org/projects/cx= x0x.html|GCC]] ||[[http://software.intel.com/en-us/articles/c0x-features-su= pported-by-intel-c-compiler/|Intel C++]] ||[[http://blogs.msdn.com/b/vcblog= /archive/2011/09/12/10209291.aspx|MSVC]] ||[[https://www.ibm.com/developerw= orks/mydeveloperworks/blogs/5894415f-be62-4bc0-81c5-3956e82276f3/entry/xlc_= compiler_s_c_11_support50?lang=3Den|IBM XLC++]] ||Sun/ Oracle C++ ||C++ Bui= lder 2009/10 ||Digital Mars C++ ||[[http://clang.llvm.org/cxx_status.html|C= lang]] || ||`alignas` ||[[http://www.open-std.org/jtc1/= sc22/wg21/docs/papers/2007/n2341.pdf|N2341]] || || || || || || || || || ||3= .0 || ||`alignof` ||[[http://www.open-std.org/jtc1/= sc22/wg21/docs/papers/2007/n2341.pdf|N2341]] || || ||4.5 || || || || ||Yes = || ||2.9 || ||Atomic operations ||[[http://www.open-std.o= rg/jtc1/sc22/wg21/docs/papers/2007/n2427.html|N2427]] || || ||4.4 || ||11.0= || || || || ||3.1 || ||`auto` ||v0.9: [[http://www.open-std.org/jt= c1/sc22/wg21/docs/papers/2006/n1984.pdf|N1984]], v1.0: [[http://www.open-st= d.org/jtc1/sc22/wg21/docs/papers/2008/n2546.htm|N2546]] || ||4.1(v0.9) ||4.= 4(v1.0) ||11.0(v0.9) ||10.0(v0.9) ||11.1 (V1.0) || || || ||Yes || ||C99 preprocessor ||[[http://www.open-std.or= g/jtc1/sc22/wg21/docs/papers/2004/n1653.htm|N1653]] || || ||4.3 ||11.1 || |= |10.1 ||5.9 || ||Yes ||Yes || ||''Concepts ^[remove= d]^'' ||[[http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2617.pdf= |N2617]] || || ||ConceptGcc ||<
> || || || || || || || - ||`constexpr` ||[[http://www.open-std.org/jtc= 1/sc22/wg21/docs/papers/2007/n2235.pdf|N2235]] || || ||4.6 ||13.0 || || || = || || ||3.1 || + ||`constexpr` ||[[http://www.open-std.org/jtc= 1/sc22/wg21/docs/papers/2007/n2235.pdf|N2235]] || || ||4.6 ||13.0 || ||12.1= || || || ||3.1 || ||`decltype` ||v1.0: [[http://www.open-std.or= g/jtc1/sc22/wg21/docs/papers/2007/n2343.pdf|N2343]], v1.1: [[http://www.ope= n-std.org/jtc1/sc22/wg21/docs/papers/2011/n3276.pdf|N3276]] || ||4.1(v1.0) = ||4.3(v1.0) ||11.0(v1.0) ||10.0(v1.0), 11.0(v1.1) ||11.1 (V1.0) || ||Yes ||= ||2.9 || ||Defaulted And Deleted Functions ||[[http://= www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2346.htm|N2346]] || ||4.1= ||4.4 ||12.0 || || || || || ||3.0 || ||Delegating Constructors ||[[http://www.open= -std.org/jtc1/sc22/wg21/docs/papers/2006/n1986.pdf|N1986]] || || ||4.7 ||<<= BR>> || ||11.1 || || || ||3.0 || - ||Explicit conversion operators ||[[http://ww= w.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2437.pdf|N2437]] || || ||4.= 5 ||13.0 || || || ||Yes || ||3.0 || + ||Explicit conversion operators ||[[http://ww= w.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2437.pdf|N2437]] || || ||4.= 5 ||13.0 || ||12.1|| ||Yes || ||3.0 || ||Extended `friend` Declarations ||[[http://w= ww.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1791.pdf|N1791]] || ||4.1 = ||4.7 ||11.0 ||10.0*** ||V1R11,11.1 || || || ||2.9 || ||`extern template` ||[[http://www.open-std.o= rg/jtc1/sc22/wg21/docs/papers/2006/n1987.htm|N1987]] ||3, 5, 6 || ||3.3 ||9= ||6.0 ||V1R11,11.1 || ||Yes || ||Yes || - ||Forward declarations for enums ||[[http://w= ww.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2764.pdf|N2764]] || || ||4= .6 || || || || || || ||3.1 || + ||Forward declarations for enums ||[[http://w= ww.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2764.pdf|N2764]] || || ||4= .6 || || ||12.1|| || || ||3.1 || ||Inheriting Constructors ||[[http://www.open= -std.org/jtc1/sc22/wg21/docs/papers/2008/n2540.htm|N2540]] || || || ||<
= > || || || || || || || ||Initializer Lists ||[[http://www.open-std.o= rg/jtc1/sc22/wg21/docs/papers/2008/n2672.htm|N2672]] || || ||4.4 ||13.0 || = || || || || ||3.1 || ||Lambda expressions and closures ||v0.9: [[h= ttp://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2550.pdf|N2550]], v= 1.0: [[http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2658.pdf|N2= 658]], v1.1: [[http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n292= 7.pdf|N2927]] || ||4.1(v0.9) ||4.5(v1.1) ||11.0(v0.9)<
>12.0(v1.0) ||10.= 0(v1.0), 11.0(v1.1) || || || || ||3.1 || @@ -25, +24 @@ ||`long long` ||[[http://www.open-std.org/jtc= 1/sc22/wg21/docs/papers/2005/n1811.pdf|N1811]] ||Yes ||Yes ||Yes ||Yes ||Ye= s ||Yes ||Yes ||Yes ||Yes ||Yes || ||Namespace Association ||[[http://www.open-s= td.org/jtc1/sc22/wg21/docs/papers/2008/n2535.html|N2535]] || || ||4.4 ||<> || ||11.1 || || || ||2.9 || ||New character types ||[[http://www.open-std= .org/jtc1/sc22/wg21/docs/papers/2007/n2249.html|N2249]] || || ||4.4 || || |= | || || || ||2.9 || - ||New function declaration syntax for deduced= return types ||[[http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n= 2541.htm|N2541]] || ||4.1 ||4.4 ||12.1 ||10.0 || || || || ||2.9 || + ||New function declaration syntax for deduced= return types ||[[http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n= 2541.htm|N2541]] || ||4.1 ||4.4 ||12.1 ||10.0 ||12.1|| || || ||2.9 || ||`nullptr` ||[[http://www.open-std.org/jtc1/= sc22/wg21/docs/papers/2007/n2431.pdf|N2431]] || || ||4.6 ||12.1* ||10.0 || = || || || ||2.9 || ||Unicode String Literals ||[[http://www.open= -std.org/jtc1/sc22/wg21/docs/papers/2007/n2442.html|N2442]] || || ||4.4 ||1= 1.0* || || ||5.7 ||Yes || ||3.0 || ||Raw String Literals ||[[http://www.open-std= .org/jtc1/sc22/wg21/docs/papers/2007/n2442.html|N2442]] || || ||4.5 ||<
= > || || || || || ||Yes || ||User-defined Literals ||[[http://www.open-s= td.org/jtc1/sc22/wg21/docs/papers/2008/n2765.html|N2765]] || || ||4.7 || ||= || || || || ||3.1 || - ||Right Angle Brackets ||[[http://www.open-st= d.org/jtc1/sc22/wg21/docs/papers/2005/n1757.html|N1757]] || ||4.1 ||4.3 ||1= 1.0 ||8.0 || || || || ||Yes || + ||Right Angle Brackets ||[[http://www.open-st= d.org/jtc1/sc22/wg21/docs/papers/2005/n1757.html|N1757]] || ||4.1 ||4.3 ||1= 1.0 ||8.0 ||12.1|| || || ||Yes || - ||R-Value References ||v1.0: [[http://www.ope= n-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html|N2118]], v2.0: [[http:= //www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2844.html|N2844]], v2.1= : [[http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1138|N2844= +]], v3.0: [[http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3053.= html|N3053]] || ||4.1(v1.0) ||4.3(v1.0)<
>4.5(v2.1)<
>4.6(v3.0) ||11.= 1(v1.0)<
>12.0(v2.0) ||10.0(v2.0), 11.0(v2.1) || || ||Yes || ||Yes || + ||R-Value References ||v1.0: [[http://www.ope= n-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html|N2118]], v2.0: [[http:= //www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2844.html|N2844]], v2.1= : [[http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1138|N2844= +]], v3.0: [[http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3053.= html|N3053]] || ||4.1(v1.0) ||4.3(v1.0)<
>4.5(v2.1)<
>4.6(v3.0) ||11.= 1(v1.0)<
>12.0(v2.0) ||10.0(v2.0), 11.0(v2.1) ||12.1(v2.1)|| ||Yes || ||= Yes || ||`static_assert` ||[[http://www.open-std.org= /jtc1/sc22/wg21/docs/papers/2004/n1720.html|N1720]] || ||4.1 ||4.3 ||11.0 |= |10.0 ||11.1 || ||Yes || ||2.9 || - ||Strongly-typed `enum`s ||[[http://www.open-= std.org/jtc1/sc22/wg21/docs/papers/2007/n2347.pdf|N2347]] || || ||4.4 ||12.= 0 ||11.0 || || ||Yes || ||2.9 || + ||Strongly-typed `enum`s ||[[http://www.open-= std.org/jtc1/sc22/wg21/docs/papers/2007/n2347.pdf|N2347]] || || ||4.4 ||12.= 0 ||11.0 ||12.1|| ||Yes || ||2.9 || ||Template aliases ||[[http://www.open-std.or= g/jtc1/sc22/wg21/docs/papers/2007/n2258.pdf|N2258]] || || ||4.7 ||12.1 || |= | || || || ||3.0 || ||Thread-Local Storage ||[[http://www.open-st= d.org/jtc1/sc22/wg21/docs/papers/2008/n2659.html|N2659]] || || ||4.4**** ||= 11.1***<
> ||10.0*** || ||5.9*** || || ||2.9**** || ||Unrestricted Unions ||[[http://www.open-std= .org/jtc1/sc22/wg21/docs/papers/2008/n2544.pdf|N2544]] || || ||4.6 ||<
>= || || || || || ||3.0 || @@ -44, +43 @@ ||Attributes ||[[http://www.open-std.org/jtc1= /sc22/wg21/docs/papers/2008/n2761.pdf|N2761]] || || || ||12.1 || || || || |= | || || ||ref-qualifiers ||[[http://www.open-std.org/= jtc1/sc22/wg21/docs/papers/2007/n2439.htm|N2439]] || || || || || || || || |= | ||2.9 || ||Non-static data member initializers ||[[htt= p://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2756.htm|N2756]] || |= | ||4.7 || || || || || || ||3.0 || + = + = = = * =E2=80=94 1) unicode string literals is a feature of the EDG frontend= , but it is undocumented at Intel C++ compiler (/Qoption,cpp,"--uliterals" = option enables it) <
>2) nullptr and nullptr_t supported with /Qoption,c= pp,"--nullptr".