Microsoft Dev Blogs

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

thumbnail

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

Introduction

The C++ Language Updates in MSVC in Visual Studio 2022 17.13 introduces more distinct buckets of fixes and implemented features to help guide readers who are interested in specific features.

C++23 Features

  • Implemented P2242R3: Relaxes restrictions around labels, , and non-literal user-defined types.

C++/CLI

  • Fixed issue where Variable Argument Lists (…) in CPP/CLR no longer compile in .NET preview 9.

Diagnostics

  • Improved error reporting with /std:c++17 or /std:c++20.
  • Resolved issues related to constexpr functions, constexpr initializer_list, wrong values in static constexpr std::initializer_list, and more.

C++ Modules

  • Fixed issues with SEH statements, using __try in an inline function, linker errors, C2504 errors, and more related to C++ modules.

Reliability

  • Fixed compiler crashes, internal errors, wrong code generation, address sanitizer issues, alias template failures, and more.

Closing

Feedback can be sent via e-mail at visualcpp@microsoft.com or on Twitter @visualc. Follow Cameron DaCamara on Twitter @starfreakclone. Report any problems with MSVC in VS 2022 through the Report a Problem option or provide suggestions and bug reports through Developer Community.