C++ Team Blog

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

Clang/C2: We need your advice!

The Visual C++ team has shipped three releases of Clang with Microsoft CodeGen (Clang/C2). We've got a solid pre-production compiler that passes all of our STL tests and compiles a bunch of code into native Windows binaries. We've about to move to the 3.8 release of clang. We're also working on getting x64-hosted tools up and running. Our ...

Be sure to try out the C++ Quick Fixes extension!

Hello C++ World! Our C++ Quick Fixes extension has gotten some pretty good initial feedback since we released it a few months ago. I wanted take some time to make sure that you are 1. aware of its benefits 2. giving us feedback on current features, and 3. giving us feedback on what other “Quick Fixes” you’d like to see! The theme ...

Using C++ Coroutines to simplify async UWP code

The Universal Windows Platform (UWP) introduced many async APIs; there are now almost 1700 of them. In fact, the team switched every API that could take 50ms or more to complete to async mode. Coding with the async pattern is not an easy task, especially in C++ where you have to create a ppl task and use a continuation (.then) with some ...

Lightweight C++ Installation in Visual Studio “15”

Recently at the //build conference, we announced a preview of a new installation experience for Visual Studio that gives you a more focused subset of the tools you need, and minimizes the impact to your machine. In this new installer (which is separate from the full Visual Studio “15” Preview), we’re focusing on laying the groundwork to ...

Announcing the VC++ 2015 Migration Virtual Development Laboratory

The Visual C++ Team is pleased to announce the VC++ 2015 Migration Virtual Development Laboratory (Virtual DevLab) which will run from April 18th through September 30th of this year. A Virtual DevLab is a kind of remote assistance where Microsoft's Visual C++ Team will help you with questions and code inspection. Most of the time will be ...

Optimizing the Layout of Empty Base Classes in VS2015 Update 2

The C++ Standard has only a handful of requirements regarding how a class is laid out in memory, one of which is that the size of a most derived object shall have a non-zero size and shall occupy one or more bytes of storage. Because this requirement only extends to most derived objects, base class subobjects are not subjected to that ...

UserVoice Suggestions Completed in Visual Studio 2015

We continue to receive many helpful suggestions and comments from the community on the Visual Studio UserVoice site. Your contributions help us improve Visual Studio and the C++ experience for developers. Thank you. The following suggestions were marked as "completed" for Visual Studio 2015 (up to Update 2 RC...

Developing C++ cross-platform projects with CMake?

Do you develop cross-platform C++ applications or libraries? In this short survey, the Microsoft Visual Studio team would like to learn more about your current edit-build-debug experience. This survey will help us understand your needs and preferences when doing C++ development using CMake (or any other cross-platform tools). Your feedback is ...

Stuck on an older toolset version? Move to Visual Studio 2017 without upgrading your toolset

⏱ Updated on March 11, 2019 with the latest functionality in Visual Studio 2017 Are you currently developing your C++ projects in an older version of Visual Studio? If your reasons for avoiding the all-new features in VS 2017 are covered next, then read on: this post may have good news for you. Help! I am stuck! There are many reasons why...