C++ Team Blog

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

Latest posts

Apr 27, 2023
Post comments count 0
Post likes count 3

What’s New for CMake Tools 1.14 in VS Code – Test Explorer

Sinem Akinci

The team has been working hard to provide new highly requested capabilities for CMake users. Now, in version 1.14, we have provided a new Test Explorer for using CTest with your CMake projects. This release also features open-source community contributions from users. Thanks for your contributions! Test Explorer One of our most highly-upvoted tickets in the CMake Tools Extension was the request for a Test Explorer for CTest. We are excited to announce that this is now available for users in the latest version of the CMake Tools extension in VS Code. Now, in your CMake projects, you can click the “Run CTest” ico...

Apr 26, 2023
Post comments count 2
Post likes count 2

Documentation for C++20 Ranges

Sy,
Tyler

C++20 introduced Ranges to the standard library: a new way of expressing composable transformations on collections of data. This feature adds a huge amount of expressive power and flexibility to C++. As with many concepts in C++, that power comes with new concepts to learn, and some complexity which can be difficult to navigate. One way of taming that complexity is through complete, clear, comprehensive documentation. Christopher Di Bella and Sy Brand (one of the co-authors of this post) presented their ideas for C++ documentation in the era of concepts in their CppCon 2021 talk. Tyler Whitney (the other co...

Apr 24, 2023
Post comments count 0
Post likes count 0

Fill in the ISO C++ Developer Survey

Sy Brand

The ISO C++ developer survey runs every year and is a great help to us in prioritizing work based on what the community cares about. It only takes about 10 minutes to complete and closes tomorrow, so please take the time to fill it out.  

Apr 22, 2023
Post comments count 2
Post likes count 4

vcpkg 2023.04.15 Release: vcpkg ships in Visual Studio, Xbox triplets, GitHub Actions Cache Support, and More…

Augustin Popa

The 2023.04.15 release of the vcpkg package manager is available. This blog post summarizes changes from February 25th, 2023 to April 15th, 2023 for the Microsoft/vcpkg, Microsoft/vcpkg-tool, and Microsoft/vcpkg-docs GitHub repos. Some stats for this period:   Notable Changes vcpkg now included with Visual Studio IDE As of Visual Studio 2022 (version 17.6), vcpkg is now added by default for IDE installations that include C++ workloads. Visual Studio users can run vcpkg commands from a Developer Command Prompt for Visual Studio targeting a new version of the IDE – both the ones ...

Apr 18, 2023
Post comments count 1
Post likes count 6

Functional exception-less error handling with C++23’s optional and expected

Sy Brand

C++23's new facilities for handling disappointments without exceptions.

Apr 13, 2023
Post comments count 5
Post likes count 2

Even faster builds with Incredibuild 10 and Visual Studio 17.6 Preview 3

Michael Price

Note: This post was co-authored with Incredibuild's Director of Product Marketing, Yohai West. We are pleased to announce that Visual Studio version 17.6 Preview 3 includes Incredibuild's most advanced developer acceleration platform: Incredibuild 10. This release includes several notable, new features that empower teams to speed up the development process: In this post we'll detail how these features can improve your daily development. Build Cache - cache what you can; distribute the rest Incredibuild 10's most significant addition is its Build Cache technology. Incredibuild breaks down dev...

Apr 13, 2023
Post comments count 6
Post likes count 11

C++23’s New Fold Algorithms

Sy Brand

New fold algorithms in C++23, what they do, how to use them.

Mar 29, 2023
Post comments count 3
Post likes count 3

Maximize Unreal Engine Development with the Latest Integrations in Visual Studio 2022

David Li

Introduction Since our announcement last month, the team has been working hard on building a new round of Unreal Engine integrations. Today, we are happy to show you the next set of features that can level up your game development productivity. In this article, you will learn about how to stream Unreal Logs, see Unreal Header Tool warnings in Visual Studio, and discover how you can be more productive working with HLSL files. All features mentioned below are available in the latest Visual Studio 2022 Preview. Visual Studio Toolbox – Game Dev Edition Curious to see these features in action? I chatted wit...

Mar 28, 2023
Post comments count 3
Post likes count 2

Create C++ Member Function in Visual Studio

Mryam Girmay

We are excited to announce that Create C++ Member Function can now be used to quickly add constructor and equality operator (operator ==) in Visual Studio 17.6 Preview 2. When you have a class with fields, you can add a default constructor, constructor with all fields, equality operator, and equality operator with all fields easily. Three dots will appear below a class name to indicate that you can add a member function, and you can hover over them to see the quick action (screwdriver icon). When the default constructor and equality operator are added respectively, the Go to Definition of the operator== is...