C++ Team Blog

The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team

Standards version switches in the compiler

Shareable link: https://aka.ms/versionswitches Official documentation on docs.microsoft.com. This blog post written by Gabriel Dos Reis, Ulzii Luvsanbat, and Andrew Pardoe. In Visual C++ 2015 Update 3 we are introducing tools to help you control the version of the ISO C++ programming language you depend on and the version you want VC++ to ...

Compiler improvements in VS 2015 Update 2

The C++ compiler team is excited for you to try out the compiler in Visual Studio 2015 Update 2 CTP 1. Since Update 1 we’ve made progress on being Standards-conformant for lot of C++11 and C++14 features. One particularly big milestone is that our standard library in Update 2 supports every C++ Standard Library feature that’s been voted ...

C++ Core Guidelines Checkers available for VS 2015 Update 1

[This post was written by Andrew Pardoe and Neil MacIntosh] Update: The CppCoreCheck tools are now part of VS 2017: https://blogs.msdn.microsoft.com/vcblog/2016/10/12/cppcorecheck. Back in September at CppCon 2015 Neil announced that we would be shipping new code analysis tools for C++ that would enforce some of the rules in the C++ Core...

C++ Modules in VS 2015 Update 1

点这里看中文版 [This post was written by Gabriel Dos Reis and Andrew Pardoe] Update: See this post on using the Standard Library via modules in MSVC. The VC++ team is excited to preview a new feature in VS 2015 Update 1: The first experimental implementation of A Module System for C++, proposed for C++17. That proposal was approved by ...

Coroutines in Visual Studio 2015 – Update 1

In preview of Visual Studio 2015, we introduced Coroutines for C++, see these blog post for an introduction and here. You can also look at the CPPCon 2015 talk about C++ Coroutines here. We continue to work on resumable functions, here it is a brief update on coroutines status in VS 2015 Update 1. See the Visual Studio 2015 Update1 post...

Debug Visualizers in Visual C++ 2015

When debugging your native applications, it is often useful to view the values of the objects in memory in a specific way, whether that be with custom string formatting, or even performing an operation on the data to make it more meaningful and easy to interpret.  Since VS2012, Visual Studio had provided the .natvis visualizer format for ...

Native Memory Diagnostics in CTP 5

The Visual Studio Memory Usage tool is now selected by default in VS2015 CTP 5.  When you first debug a native app in CTP 5, the Diagnostic Tools window will launch and show both the Memory Usage and CPU Usage tools since they are both checked by default.  For more information on the Diagnostic Tools window and other tools, please ...

Native Memory Diagnostics in VS2015 Preview

In Visual Studio 2013 Update 2 and also in the earlier CTP releases of Visual Studio 2015, we released a memory diagnostic tool that allowed developers to take heap snapshots of their application and then examine the heap contents upon terminating their application.  The initial release supported viewing managed and native objects in the heap...

Native Memory Diagnostic Tools for Visual Studio “14” CTP

In Update 2 for Visual Studio 2013, memory diagnostic tools were added for Windows Store and Windows Phone that enable developers to monitor live memory consumption and take heap snapshots of their applications for further analysis.  The Visual Studio team is extending the existing tools to work for Windows Desktop applications in the ...