Difference between revisions of "C++14 support in compilers"

From KlayGE
Jump to: navigation, search
(Created page with "== C++14 Core Language Features == {| class="wikitable" |- ! Language Feature !! Proposal !! MSVC !! GCC !! ICC !! Clang !! Alternative |- | Tweak to certain C++ contextual co...")
 
Line 8: Line 8:
 
| Binary literals || [http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3472.pdf N3472] || No || '''4.9''' || No || '''2.9''' ||
 
| Binary literals || [http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3472.pdf N3472] || No || '''4.9''' || No || '''2.9''' ||
 
|-
 
|-
| Return type deduction for normal functions || [http://isocpp.org/files/papers/N3638.html N3638] || No || '''4.9''' || No || '''3.3''' ||
+
| Return type deduction for normal functions || [http://isocpp.org/files/papers/N3638.html N3638] || '''Nov 13''' || '''4.9''' || No || '''3.3''' ||
 
|-
 
|-
 
| Runtime-sized arrays with automatic storage duration || [http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3639.html N3639] || No || '''4.9''' || No || No ||
 
| Runtime-sized arrays with automatic storage duration || [http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3639.html N3639] || No || '''4.9''' || No || No ||
 
|-
 
|-
| Generalized lambda capture (init-capture) || [http://isocpp.org/files/papers/N3648.html N3648] || No || '''4.9''' || No || No ||
+
| Generalized lambda capture (init-capture) || [http://isocpp.org/files/papers/N3648.html N3648] || '''Nov 13''' || '''4.9''' || No || No ||
 
|-
 
|-
| Generic (polymorphic) lambda expressions || [http://isocpp.org/files/papers/N3649.html N3649] || No || No || No || No ||
+
| Generic (polymorphic) lambda expressions || [http://isocpp.org/files/papers/N3649.html N3649] || '''Nov 13''' || No || No || No ||
 
|-
 
|-
 
| Variable templates || [http://isocpp.org/files/papers/N3651.pdf N3651] || No || No || No || No ||
 
| Variable templates || [http://isocpp.org/files/papers/N3651.pdf N3651] || No || No || No || No ||
Line 33: Line 33:
  
 
== References ==
 
== References ==
 +
*[http://blogs.msdn.com/b/vcblog/archive/2013/11/18/announcing-the-visual-c-compiler-november-2013-ctp.aspx Announcing the Visual C++ Compiler November 2013 CTP]
 
*[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]
  
 
[[zh:多种编译器对C++14的支持]]
 
[[zh:多种编译器对C++14的支持]]

Revision as of 03:13, 26 November 2013

C++14 Core Language Features

Language Feature Proposal MSVC GCC ICC Clang Alternative
Tweak to certain C++ contextual conversions N3323 No 4.9 No No
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 Nov 13 4.9 No No
Generic (polymorphic) lambda expressions N3649 Nov 13 No No No
Variable templates N3651 No No No No
Relaxing requirements on constexpr functions N3652 No No No No
Member initializers and aggregates N3653 No No No 3.3
Clarifying memory allocation N3664 No No No No
Sized deallocation N3778 No No No No
Single-quotation-mark as a digit separator N3781 No No No No

See Also

C++11 support in compilers

References