C++ Team Blog

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

Latest posts

MSVC Address Sanitizer updates in Visual Studio 2022 version 17.13
Feb 21, 2025
0
4

MSVC Address Sanitizer updates in Visual Studio 2022 version 17.13

Zachary Johnson
Zachary Johnson

We have been investing in the quality of MSVC Address Sanitizer (ASan) in several key areas over the past year, including working with LLVM upstream to stay coordinated with their changes, adding coverage for internal tools and libraries, and hardening APIs and runtime modes.  Upstreaming to LLVM  MSVC ASan is derived from a fork of the LLVM repository. Prior to Visual Studio 2022 version 17.12, MSVC ASan was based on outdated versions of LLVM’s compiler-rt (where the ASan source code lives), and we could not incorporate changes from newer versions of LLVM without significant delay.   We have recently comple...

Visual Studio Code CMake Tools Extension 1.20 Release: Introducing Built-In CMake Language Services
Feb 20, 2025
2
2

Visual Studio Code CMake Tools Extension 1.20 Release: Introducing Built-In CMake Language Services

Sinem Akinci
Sinem Akinci

The February release of CMake Tools in VS Code is now available. With this release, we have some new updates to the extension to improve CMake integrations with the extension’s support. Some updates include the built-in support for CMake Language services, addressing our most highly-upvoted issues in the CMake Tools extension, and CMake presets v9 support. To view the full list of updates with this release, please look at our CHANGELOG. This release features the following nine contributions from our open-source community. Thank you for your continued support! Built-i...

MSVC C++ Code Analysis: Updates in Visual Studio 2022 version 17.13
Feb 19, 2025
0
3

MSVC C++ Code Analysis: Updates in Visual Studio 2022 version 17.13

Carson Radtke
Carson Radtke

This post details the latest updates in Visual Studio 2022 version 17.13 for MSVC C++ Code Analysis. Driven by internal team insights and developer community feedback, these improvements significantly reduce false positives and strengthen production code security.

C++ Language Updates in MSVC in Visual Studio 2022 17.13
Feb 11, 2025
0
3

C++ Language Updates in MSVC in Visual Studio 2022 17.13

Cameron DaCamara
Cameron DaCamara

Introduction For this update, we have changed things up a little bit. We now have more distinct buckets of fixes/implemented features. This is to help guide readers who care about specific features to more easily see how the compiler front-end team is making progress on the things you care about. 17.12 notes for reference. C++23 Features As part of our continuing ramp-up on C++23 conformance, the team has implemented the following features. In future releases customers can expect to see continued acceleration towards C++23 conformance. Note: C++23 features can be used by either adding or to the command...

What’s New for C++ Developers in Visual Studio 2022 17.13
Feb 11, 2025
4
2

What’s New for C++ Developers in Visual Studio 2022 17.13

Sy Brand
Sy Brand

We are happy to announce that Visual Studio 2022 version 17.13 is now generally available! This post summarizes the new features you can find in this release for C++. You can download Visual Studio 2022 from the Visual Studio downloads page or upgrade your existing installation by following the Update Visual Studio Learn page. Standard Library and Compiler On the compiler side, we’ve implemented C++23’s literal suffix. The suffix or (or any permutation of these) will help you avoid sneaky truncations or signed comparison mismatches, especially when writing loops. For example: Note that, while this feature...

Document build instructions and more with enhanced C++ awareness from Copilot Chat in Visual Studio
Jan 30, 2025
1
2

Document build instructions and more with enhanced C++ awareness from Copilot Chat in Visual Studio

Sinem Akinci
Sinem Akinci

C++ development often involves nuances beyond the file you’re developing in. This can leave developers with many mental tabs open, balancing all the relevant context for their project to develop their C++ code properly. Copilot Chat in Visual Studio can already utilize context provided by specified files and invoked agents such as @workspace to generate suggestions. However, to improve the relevance of Copilot suggestions, we must provide tailored context to Copilot with considerations specific to the C++ language for developers to achieve better results. That way, developers can focus less on providing all th...

What’s New in vcpkg (January 2025)
Jan 23, 2025
0
0

What’s New in vcpkg (January 2025)

Augustin Popa
Augustin Popa

This blog post summarizes changes to the vcpkg package manager as part of the 2025.01.13 registry release, 2025-01-11 tool release, as well as changes to vcpkg documentation throughout January. This release includes minor improvements and bug fixes. Some stats for this period: vcpkg changelog (2025.01.13 release) The following notable changes were made in January: Documentation changes There are no changes to vcpkg documentation this month. If you have any suggestions for our documentation, please submit an issue in our GitHub repo or see the box at the bottom of ...

What’s New in vcpkg (December 2024)
Jan 6, 2025
0
0

What’s New in vcpkg (December 2024)

Augustin Popa
Augustin Popa

This blog post summarizes changes to the vcpkg package manager as part of the 2024.12.16 registry release, 2024-12-09 tool release, as well as changes to vcpkg documentation throughout December. This release includes a command line option to force vcpkg to use classic mode even if a manifest file is found along with bug fixes. Some stats for this period: vcpkg changelog (2024.12.16 release) The following notable changes were made in December: Documentation changes If you have any suggestions for our documentation, please submit an issue in our GitHub repo or ...

MSVC Compiler Language Updates in Visual Studio 2022 version 17.12
Dec 6, 2024
0
6

MSVC Compiler Language Updates in Visual Studio 2022 version 17.12

Cameron DaCamara
Cameron DaCamara

Introduction In alignment with the Visual Studio 2022 version 17.12 release, and based upon feedback received from the community, the MSVC compiler team would like to provide greater visibility into the C++ language-level fixes for customer-reported issues that made it into the release. This is similar to how the standard library team publishes regular changelogs (see VS 2022 17.12 for reference). The focus for Visual Studio 2022 version 17.12 is primarily to address bugs reported through Developer Community. C++23 Features: While our overall focus has been on fixing bugs reported via Developer Community, we i...