C++ Team Blog

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

Latest posts

Functional exception-less error handling with C++23’s optional and expected
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
Sy Brand

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

Even faster builds with Incredibuild 10 and Visual Studio 17.6 Preview 3
Apr 13, 2023
Post comments count 5
Post likes count 1

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

Michael Price
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...

C++23’s New Fold Algorithms
Apr 13, 2023
Post comments count 6
Post likes count 11

C++23’s New Fold Algorithms

Sy Brand
Sy Brand

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

Maximize Unreal Engine Development with the Latest Integrations in Visual Studio 2022
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
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...

Create C++ Member Function in Visual Studio
Mar 28, 2023
Post comments count 3
Post likes count 2

Create C++ Member Function in Visual Studio

Mryam Girmay
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...

vcpkg 2023.02.24 Release: Default Triplet Changes, RISC-V support, Bug Fixes, and More…
Mar 6, 2023
Post comments count 1
Post likes count 0

vcpkg 2023.02.24 Release: Default Triplet Changes, RISC-V support, Bug Fixes, and More…

Augustin Popa
Augustin Popa

The 2023.02.24 release of the vcpkg package manager is available. This blog post summarizes changes from January 10th, 2023 to February 24th, 2023 for the Microsoft/vcpkg, Microsoft/vcpkg-tool, and Microsoft/vcpkg-docs GitHub repos. Some stats for this period:   Notable Changes Notable changes for this release are summarized below:   Upcoming Default Triplet Changes Starting with the September 2023 vcpkg tool release, the default triplet for vcpkg libraries for Windows users will change from x86-windows to a detected host triplet. The detected host triplet will be infe...

std::string now supports Address Sanitizer
Mar 6, 2023
Post comments count 2
Post likes count 1

std::string now supports Address Sanitizer

Nicole Mazzuca
Nicole Mazzuca

The standard library now checks for more incorrect usage using the ASan "container overflow" feature in `std::string`.

Code Analysis Improvements in Visual Studio 17.6
Mar 3, 2023
Post comments count 1
Post likes count 3

Code Analysis Improvements in Visual Studio 17.6

Gabor Horvath
Gabor Horvath

Code Analysis Improvements in VS 17.6

Importing ST projects into Visual Studio
Feb 28, 2023
Post comments count 2
Post likes count 6

Importing ST projects into Visual Studio

Marc Goodner
Marc Goodner

Last year we introduced the ability to import ST projects in Visual Studio Code. We’re happy to announce the availability of this feature in Visual Studio 2022 17.6 as well. In the world of Arm microcontrollers there are many silicon vendors, one of the largest is STMicroelectronics. ST has a large catalog of available devices with many capabilities as well as supporting development boards for evaluating them. They also produce STM32CubeIDE, a custom IDE to use when targeting their devices, and STM32CubeMX, a configuration tool used in configuring properties of their devices and generating projects. If you ...