当前位置:C++技术网 > 资讯 > VS2015预览版下载以及支持的C++语言特性与VS2013对比列表

VS2015预览版下载以及支持的C++语言特性与VS2013对比列表

更新时间:2015-06-27 13:52:52浏览次数:1+次

Visual Studio 2015(VS2015) 预览版支持的核心语言C++(C++11、C++14、C++17)的特性升级支持以及与VS2013的支持对比列表如下:

注:下表由VS2015开发团队的VC++团队提供。表中所有的关键词,都不做翻译,以免翻译错误。整理如下,仅供大家学习,看看自己喜欢的语言特性是否得到支持哦!

VS2015预览版下载地址:点此去下载

C++11核心语言特性

VS 2013 

   VS 2015预览版    

Rvalue references   

部分

是   

ref-qualifiers   

是   

Non-static data member initializers

部分

部分

Variadic templates   

是   

Initializer lists

部分

部分

static_assert   

是    

auto

是    

Trailing return types    

是    

Lambdas    

是    

decltype

是    

Right angle brackets    

是    

Default template args for function templates    

是    

Expression SFINAE

Alias templates    

是    

Extern templates    

是    

nullptr    

是    

Strongly typed enums    

是    

Forward declared enums    

是    

Attributes

constexpr

部分

Alignment    

部分

是    

Delegating constructors    

是    

Inheriting constructors    

是    

Explicit conversion operators    

是    

char16_t and char32_t    

是    

Unicode string literals    

是    

Raw string literals    

是   

Universal character names in literals

User-defined literals    

是    

Standard-layout and trivial types    

是    

Defaulted and deleted functions    

部分

是    

Extended friend declarations    

是    

Extended sizeof    

是    

Inline namespaces    

是    

Unrestricted unions    

是    

Local and unnamed types as template args    

是    

Range-based for-loop    

是    

override and final    

是    

Minimal GC support

是    

noexcept    

是    

C++11核心语言特性:  并发

VS 2013

VS 2015预览版

Reworded sequence points    

是    

Atomics    

是    

Strong compare and exchange    

是    

Bidirectional fences    

是    

Memory model  

是    

Data-dependency ordering    

是    

Data-dependency ordering: attributes

exception_ptr    

是    

quick_exit and at_quick_exit    

是    

Atomics in signal handlers

Thread-local storage    

部分

是    

Magic statics    

是    

C++11核心语言特性:C99

VS 2013

VS 2015预览版

__func__    

部分

是    

C99 preprocessor

部分

部分

long long    

是    

Extended integer types

N/A

N/A

C++14核心语言特性

VS 2013

VS 2015预览版

Tweaked wording for contextual conversions    

是    

Binary literals    

是    

auto and decltype(auto) return types    

是    

init-captures    

是    

Generic lambdas    

是    

Variable templates

Extended constexpr

NSDMIs for aggregates

Avoiding/fusing allocations

[[deprecated]] attributes

Sized deallocation

部分

Digit separators

RTM

C++1z (C++17?) 核心语言特性

VS 2013

VS 2015预览版

New rules for auto with braced-init-lists

Terse static_assert

typename in template template-parameters

Removing trigraphs    

是    

Nested namespace definitions

N4259 std::uncaught_exceptions()

N4261 Fixing qualification conversions

N4266 Attributes for namespaces and enumerators 

N4267 u8 character literals

N4268 Allowing more non-type template args

N4295 Fold expressions