Difference between revisions of "多种编译器对C++14的支持"
From KlayGE
Gongminmin (Talk | contribs) |
Gongminmin (Talk | contribs) |
||
Line 14: | Line 14: | ||
| Generalized lambda capture (init-capture) || [http://isocpp.org/files/papers/N3648.html N3648] || No || '''4.9''' || No || '''3.4''' || | | Generalized lambda capture (init-capture) || [http://isocpp.org/files/papers/N3648.html N3648] || No || '''4.9''' || No || '''3.4''' || | ||
|- | |- | ||
− | | Generic (polymorphic) lambda expressions || [http://isocpp.org/files/papers/N3649.html N3649] || '''Nov 13''' || | + | | Generic (polymorphic) lambda expressions || [http://isocpp.org/files/papers/N3649.html N3649] || '''Nov 13''' || '''4.9''' || No || '''3.4''' || |
|- | |- | ||
| Variable templates || [http://isocpp.org/files/papers/N3651.pdf N3651] || No || No || No || '''3.4''' || | | Variable templates || [http://isocpp.org/files/papers/N3651.pdf N3651] || No || No || No || '''3.4''' || | ||
Line 23: | Line 23: | ||
|- | |- | ||
| Clarifying memory allocation || [http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3664.html N3664] || No || No || No || '''3.4''' || | | Clarifying memory allocation || [http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3664.html N3664] || No || No || No || '''3.4''' || | ||
− | |||
− | |||
|- | |- | ||
| Sized deallocation || [http://isocpp.org/files/papers/n3778.html N3778] || No || No || No || '''3.4''' || | | Sized deallocation || [http://isocpp.org/files/papers/n3778.html N3778] || No || No || No || '''3.4''' || | ||
|- | |- | ||
− | | Single-quotation-mark as a digit separator || [http://isocpp.org/files/papers/N3781.pdf N3781] || No || | + | | <nowiki>[[deprecated]]</nowiki> attribute || [http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3760.html N3760] || No || '''4.9''' || No || '''3.4''' || |
+ | |- | ||
+ | | Single-quotation-mark as a digit separator || [http://isocpp.org/files/papers/N3781.pdf N3781] || No || '''4.9''' || No || '''3.4''' || | ||
|} | |} | ||
Revision as of 04:56, 15 January 2014
C++14核心语言功能
功能 | 提案 | MSVC | GCC | ICC | Clang | 替代方案 |
---|---|---|---|---|---|---|
Tweak to certain C++ contextual conversions | N3323 | No | 4.9 | No | 3.4 | |
Binary literals | N3472 | No | 4.9 | No | 2.9 | |
Return type deduction for normal functions | N3638 | Nov 13 | 4.9 | No | 3.3 | |
Runtime-sized arrays with automatic storage duration | N3639 | No | 4.9 | No | No | |
Generalized lambda capture (init-capture) | N3648 | No | 4.9 | No | 3.4 | |
Generic (polymorphic) lambda expressions | N3649 | Nov 13 | 4.9 | No | 3.4 | |
Variable templates | N3651 | No | No | No | 3.4 | |
Relaxing requirements on constexpr functions | N3652 | No | No | No | 3.4 | |
Member initializers and aggregates | N3653 | No | No | No | 3.3 | |
Clarifying memory allocation | N3664 | No | No | No | 3.4 | |
Sized deallocation | N3778 | No | No | No | 3.4 | |
[[deprecated]] attribute | N3760 | No | 4.9 | No | 3.4 | |
Single-quotation-mark as a digit separator | N3781 | No | 4.9 | No | 3.4 |