visual studio 2015对C/C++标准的支持情况

VS2015对C99的支持几乎是完备的,除了tgmath.hCX_LIMITED_RANGE/FP_CONTRACT pragma macros。(不晓得支持inline不? :))

看来可以用vs2015移植很多Linux下的开源项目了,如ffmpeg(其实从VS2013就可以了)。


对于C++11/14/17的支持可以参考以下链接。总之微软追赶C++标准的路还很漫长。

http://blogs.msdn.com/b/vcblog/archive/2014/11/17/c-11-14-17-features-in-vs-2015-preview.aspx


source:

http://www.infoq.com/news/2015/06/VS2015CPP?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global


Microsoft had previously released a preview of its C++11/14/17 support in Visual Studio 2015, but is now able to provide the complete details on what will be shipping in VS2015RTM.  Microsoft has finished adding new features in order to the product in order to ensure everything is running smoothly before final release in July.  Microsoft’s Stephan T. Lavavej has published a list of what C++11/14/17 standard library features will be supported in VS2015RTM, and the compiler has made great strides towards full compliance.

As a result VS2015RTM’s support for the entire C++11 and C++14 standard libraries is nearly complete.  One of the outstanding features for C++14 is support for Expression SFINAE, which is stated to come in an update to VS2015 that will be supported for production use according to Lavavej  (ie: a new version of Visual Studio will not need to be purchased in order to use them, in contrast to prior release policies).  These strides towards standards compliance are accompanied by what Lavavej says is the correction of approximately 160 bugs as compared to VS2013. 

Alongside the inclusion of these new C++ items, Lavavej says that Visual Studio’s implementation of the C99 standard library is considered complete, with the only omissions being tgmath.h and the CX_LIMITED_RANGE/FP_CONTRACT pragma macros.

A big change in policy for VS2015RTM was Lavaej’s statements that contrary to previousreports, app-local deployment will be “fully supported” for desktop applications and that this support will cover the Universal CRT, standard template library, and “everything else as usual”.  This is complete reversal of a point made in March 2015 by James McNellis.

All of these will be available for first hand inspection on July 20 as that is the official release date for Visual Studio 2015.  


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值