Difference between revisions of "多种编译器对C++14的支持"
From KlayGE
Gongminmin (Talk | contribs) |
Gongminmin (Talk | contribs) |
||
Line 39: | Line 39: | ||
*[http://gcc.gnu.org/projects/cxx1y.html C++1y Support in GCC] | *[http://gcc.gnu.org/projects/cxx1y.html C++1y Support in GCC] | ||
*[http://clang.llvm.org/cxx_status.html C++98, C++11, and C++14 Support in Clang] | *[http://clang.llvm.org/cxx_status.html C++98, C++11, and C++14 Support in Clang] | ||
+ | *[http://software.intel.com/en-us/articles/c14-features-supported-by-intel-c-compiler C++14 Features Supported by Intel® C++ Compiler] | ||
[[Category:知识库]] | [[Category:知识库]] | ||
[[en:C++14 support in compilers]] | [[en:C++14 support in compilers]] |
Revision as of 00:57, 2 January 2017
C++14核心语言功能
功能 | 提案 | MSVC | GCC | ICC | Clang | 替代方案 |
---|---|---|---|---|---|---|
Tweak to certain C++ contextual conversions | N3323 | 12.0 | 4.9 | No | 3.4 | |
Binary literals | N3472 | 14.0 | 4.9 | 11.0 | 2.9 | |
Return type deduction for normal functions | N3638 | Nov 13 | 4.9 | 15.0 | 3.3 | |
Generalized lambda capture (init-capture) | N3648 | 14.0 | 4.9 | 15.0 | 3.4 | |
Generic (polymorphic) lambda expressions | N3649 | Nov 13 | 4.9 | No | 3.4 | |
Variable templates | N3651 | 15.0 | 5.0 | No | 3.4 | |
Relaxing requirements on constexpr functions | N3652 | 15.0 | 5.0 | No | 3.4 | |
Member initializers and aggregates | N3653 | 15.0 | 5.0 | No | 3.3 | |
Clarifying memory allocation | N3664 | No | No | No | 3.4 | |
Sized deallocation | N3778 | 14.0 | 5.0 | No | 3.4 | |
[[deprecated]] attribute | N3760 | 14.0 | 4.9 | No | 3.4 | |
Single-quotation-mark as a digit separator | N3781 | 14.0 | 4.9 | No | 3.4 |