VS 2015 update 1比VS 2013 update 5新增了哪些C++11/14特性

如题所述

第1个回答  2016-01-31
这里有详尽的C++新特性的实现进度:

C++11/14/17 Features In VS 2015 RTM
----------------------------------------------------------------------------------------------------
部分实现→完全实现(全部为C++11特性):
(N3053)Rvalue references
(N2756)Non-static data member initializers
(N2672)Initializer lists
(N2341)Alignment
(N2346)Defaulted and deleted functions
(N2659)Thread-local storage
(N2340)__func__
----------------------------------------------------------------------------------------------------
尚未实现→已经实现:

部分实现(2015 Update 1):
(N2634)Expression SFINAE
官方公告:Partial Support for Expression SFINAE in VS 2015 Update 1

完全实现(C++11语言特性):
(N2439)ref-qualifiers
(N2761)Attributes
(N2235)constexpr
(N2540)Inheriting constructors
(N2249)char16_t and char32_t
(N2442)Unicode string literals
(N2170)Universal character names in literals
(N2765)User-defined literals
(N2253)Extended sizeof
(N2535)Inline namespaces
(N2544)Unrestricted unions
(N3050)noexcept
(N2782)Data-dependency ordering: attributes
(N2440)quick_exit and at_quick_exit
(N2660)Magic statics

完全实现(C++14语言特性):
(N3472)Binary literals
(N3638)auto and decltype(auto) return types
(N3648)init-captures
(N3649)Generic lambdas
(N3760)[[deprecated]] attributes
(N3778)Sized deallocation
(N3781)Digit separators
----------------------------------------------------------------------------------------------------
标准库改进(C++14):
(N3302)constexpr For <complex>
(N3469)constexpr For <chrono>
(N3470)constexpr For <array>
(N3471)constexpr For <initializer_list>, <tuple>, <utility>
(N3545)integral_constant::operator()()
(N3642)UDLs For <chrono>, <string>
(N3644)Null Forward Iterators
(N3654)quoted()
(N3657)Heterogeneous Associative Lookup
(N3658)integer_sequence
(N3659)shared_mutex (Timed)
(N3668)exchange()
(N3669)Fixing constexpr Member Functions Without const
(N3670)get<T>()
(N3671)Dual-Range equal(), is_permutation(), mismatch()
(N3778)Sized Deallocation(参考C++14语言特性部分)
(N3779)UDLs For <complex>
(N3789)constexpr For <functional>
(N3887)tuple_element_t
(N3891)Renaming shared_mutex (Timed) To shared_timed_mutex(改进N3659)

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网