|
1 | 1 | ---
|
2 | 2 | title: "What's new for C++ in Visual Studio"
|
3 | 3 | description: "The new features and fixes in the Microsoft C/C++ compiler and tools in Visual Studio."
|
4 |
| -ms.date: 02/28/2023 |
| 4 | +ms.date: 08/23/2023 |
5 | 5 | ms.technology: "cpp-ide"
|
6 | 6 | ms.custom: intro-whats-new
|
7 | 7 | ---
|
| 8 | + |
8 | 9 | # What's new for C++ in Visual Studio 2022
|
9 | 10 |
|
10 | 11 | Visual Studio 2022 brings many updates and fixes to the Microsoft C++ environment. We've added features and fixed many bugs and issues in the compiler and tools. The Visual Studio IDE also offers significant improvements in performance and productivity, and now runs natively as a 64-bit application.
|
11 | 12 |
|
12 | 13 | For more information on what's new in all of Visual Studio, see [What's new in Visual Studio 2022](/visualstudio/ide/whats-new-visual-studio-2022?view=vs-2022&preserve-view=true). For information about what's new in the C++ docs, see [Microsoft C++ docs: What's new](./whats-new-cpp-docs.md)
|
13 | 14 |
|
| 15 | +## What's new for C++ in Visual Studio version 17.7 |
| 16 | + |
| 17 | +For a summary of new C++ features in Visual Studio in version 17.7, see [What’s New for C++ Developers in Visual Studio 2022 17.7](https://devblogs.microsoft.com/cppblog/whats-new-for-c-developers-in-visual-studio-2022-17-7/). |
| 18 | + |
| 19 | +For a summary of new C++ features that are specific to game development, see [Unleashing the Power of Visual Studio 2022 for C++ Game Development](https://devblogs.microsoft.com/visualstudio/unleashing-the-power-of-visual-studio-2022-for-c-game-development/#:~:text=Unleashing%20the%20Power%20of%20Visual%20Studio%202022%20for,6%20Optimizing%20Build%20Times%20in%20Visual%20Studio%20) |
| 20 | + |
| 21 | +[Visual Studio 2022 version 17.7 Release Notes](/visualstudio/releases/2022/release-notes). |
| 22 | + |
| 23 | +## What's new for C++ in Visual Studio version 17.6 |
| 24 | + |
| 25 | +For a summary of new C++ features in Visual Studio in version 17.6, see [What’s New for C++ Developers in Visual Studio 2022 17.6](https://devblogs.microsoft.com/cppblog/visual-studio-17-6-for-cpp-devs/). |
| 26 | + |
14 | 27 | ## What's new for C++ in Visual Studio version 17.5
|
15 | 28 |
|
16 |
| -For a summary of new features and bug fixes in Visual Studio in version 17.5, see [Visual Studio 2022 version 17.5 Release Notes](/visualstudio/releases/2022/release-notes-v17.5). |
| 29 | +For a summary of new C++ features in Visual Studio in version 17.5, see [What’s New for C++ Developers in Visual Studio 2022 17.5](https://devblogs.microsoft.com/cppblog/visual-studio-17-5-for-cpp-devs/). |
| 30 | +For an overall summary of new features and bug fixes in Visual Studio in version 17.5, see [Visual Studio 2022 version 17.5 Release Notes](/visualstudio/releases/2022/release-notes-v17.5). |
17 | 31 |
|
18 | 32 | - `std::move`, `std::forward`, `std::move_if_noexcept`, and `std::forward_like` now don't produce function calls in generated code, even in debug mode. This change avoids named casts causing unnecessary overhead in debug builds. `/permissive-` (or an option that implies it, such as `/std:c++20` or `std:c++latest`) is required.
|
19 | 33 |
|
@@ -67,7 +81,7 @@ For a summary of new features and bug fixes in Visual Studio in version 17.5, se
|
67 | 81 |
|
68 | 82 | ## What's new for C++ in Visual Studio version 17.4
|
69 | 83 |
|
70 |
| -For a summary of new features and bug fixes in Visual Studio in version 17.4, see [Visual Studio 2022 version 17.4 Release Notes](/visualstudio/releases/2022/release-notes-v17.4). |
| 84 | +For a summary of new features and bug fixes in Visual Studio in version 17.4, see [Visual Studio 2022 version 17.4 Release Notes](/visualstudio/releases/2022/release-notes-v17.4) and [What’s New for C++ Developers in Visual Studio 2022 17.4](https://devblogs.microsoft.com/cppblog/whats-new-for-cpp-developers-in-visual-studio-2022-17-4/). |
71 | 85 |
|
72 | 86 | - Improved compiler error messages to provide more correct and useful information, especially for concepts.
|
73 | 87 |
|
@@ -123,7 +137,7 @@ For a summary of new features and bug fixes in Visual Studio in version 17.4, se
|
123 | 137 |
|
124 | 138 | ## What's new for C++ in Visual Studio version 17.3
|
125 | 139 |
|
126 |
| -For a summary of new features and bug fixes in Visual Studio in version 17.3, see [Visual Studio 2022 version 17.3 Release Notes](/visualstudio/releases/2022/release-notes-v17.3). |
| 140 | +For a summary of new features and bug fixes in Visual Studio in version 17.3, see [Visual Studio 2022 version 17.3 Release Notes](/visualstudio/releases/2022/release-notes-v17.3) and [C++ improvements](https://devblogs.microsoft.com/visualstudio/visual-studio-2022-17-3-is-now-available/#c-improvements). |
127 | 141 |
|
128 | 142 | - The Arm64EC toolchain is no longer marked as experimental and is ready for production use.
|
129 | 143 |
|
@@ -187,9 +201,8 @@ For a summary of new features and bug fixes in Visual Studio in version 17.1, se
|
187 | 201 |
|
188 | 202 | - Visual Studio's CMake integration is only active when a *`CMakeLists.txt`* is identified at the root of the open workspace. If a *`CMakeLists.txt`* is identified at another level of the workspace, then you're prompted to activate Visual Studio's CMake integration with a notification.
|
189 | 203 |
|
190 |
| -- Added a new register visualization window for embedded targets, available through **Debug** > **Windows** > **Embedded Registers**. |
191 |
| - |
192 |
| -- Added a new thread view for RTOS projects, available through **Debug** > **Windows** > **RTOS Objects**. |
| 204 | +- New views that enable you to inspect and interact with peripheral registers on microcontrollers and real time operating systems (RTOS) objects, available through **Debug** > **Windows** > **Embedded Registers** |
| 205 | +- Added a new thread view for RTOS projects, available through **Debug** > **Windows** > **RTOS Objects**. For more information, see [Embedded Software Development in Visual Studio](https://devblogs.microsoft.com/cppblog/visual-studio-embedded-development/) |
193 | 206 |
|
194 | 207 | ## What's new for C++ in Visual Studio version 17.0
|
195 | 208 |
|
|
0 commit comments