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.  


  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Visual Studio Code是一个开源的轻量级代码编辑器,可在多个操作系统上运行,如Windows、Mac和Linux。它是一个功能强大的编辑器,支持多种语言,包括C/C++。你可以在官方网站上下载Visual Studio Code:https://code.visualstudio.com/。 为了在Visual Studio Code中配置C/C++开发环境,你可以安装C/C++扩展插件。你可以在Visual Studio Code的扩展商店中搜索并安装"C/C++"插件。这个插件提供了C/C++代码的语法高亮、智能代码补全、调试功能等。 安装完插件后,你可以按照自己的需求进行配置。你可以设置编译器路径、调试器路径、编译选项等。具体的配置步骤可以参考官方文档或搜索相关教程。 总结起来,要在Visual Studio Code中配置C/C++开发环境,你需要先下载并安装Visual Studio Code,在扩展商店中安装C/C++插件,然后根据需要进行配置。这样就可以在Visual Studio Code中进行C/C++的编写和调试了。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [Visual Studio Code 上运行C/C++](https://blog.csdn.net/m0_51315555/article/details/123774037)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [Visual Studio Code配置C/C++开发环境的教程图解](https://download.csdn.net/download/weixin_38502916/12724742)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [如何配置Visual Studio Code C/C++环境](https://blog.csdn.net/riskmoumou/article/details/129046562)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值