xlC++ compiler's C++11 support
Michael_Wong 120000M1EH Comments (5) Visits (10617)
C++11 (which was codenamed C++0x until ratification) is the new C++ programming language standard that has just been ratified and published. It supersedes the C++ 2003 (which was a bug fix on the C++ 1998) Standard and is called officially ISO/IEC 14882: 2011
IBM's xlC (C++) compiler has started supporting C++11 since 2008 in V10.1 with an extensive list of C++11 features. Our current release is now at V12.1 on AIX and Linux and V2R1 for z/OS. Most other compilers have similar plans phasing in the large number of features over multiple releases. The latest compiler support is here.
Here is a list of C++11 features supported over several releases of XL C/C++.
In addition, it also has been tested with Boost Libraries V1.34.1.
C++11 Features supported in XL C/C++ for AIX V11.1 and XL C/C++ for Linux V11.1 released in mid 2010 (including previous AIX and Linux released features):
In addition, it also has been tested with Boost Libraries V1.40.
C++11 features supported in XL C/C++ for AIX/Linux for V12.1 released in mid 2012 (including previous AIX and Linux released features)
C++11 features supported in z/OS XL C/C++ V1R11:
C++ 11 features supported in z/OS XL C/C++ V1R12 (including previous z/OS released features):
C++ 11 features supported in z/OS XL C/C++ V1R13 (including previous z/OS released features):
C++11 features supported in z/OS XL C/C++ V2R1 (including previous z/OS released features):
The compiler documentation is available online.
We plan to continue our drive and commitment to fully support C++11 in future compiler releases.
C++11 library support is also planned for the future. So stay tuned.
If you are interested in more information on C++11, then here is Bjarne's C++0x FAQ.