When is "/std:c++20" expected to be enabled in Visual Studio?

Claus Gramkow 26 Reputation points
2020-11-26T13:22:34.3+00:00

I am aware that many C++20 features are already available with the project setting "Preview - Features from the Latest C++ Working Draft", but I am curious if an official release is planned for the full C++20 feature set.

Thank you, Claus

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,636 questions
0 comments No comments
{count} vote

Accepted answer
  1. Jeanine Zhang-MSFT 9,431 Reputation points Microsoft Vendor
    2020-11-27T02:19:37.367+00:00

    Hi,

    According to the doc:

    On Friday September 4, C++20’s DIS (Draft International Standard) ballot ended, and it passed unanimously. This means that C++20 has now received final technical approval and is done with ISO balloting, and we expect it to be formally published toward the end of 2020 after we finish a final round of ISO editorial work.

    As far as I'm concerned, / std:c ++ 20 to be formally published toward the end of 2020.

    I suggest you could refer to the Blog: https://devblogs.microsoft.com/cppblog/standard-c20-modules-support-with-msvc-in-visual-studio-2019-version-16-8/

    Best Regards,

    Jeanine


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Darran Rowe 571 Reputation points
    2020-11-27T02:08:28.247+00:00

    Yes, when the entire C++ 20 feature set is implemented in VC.
    Basically, when everything under the C++ 20 features in this list are supported in the compiler then the /std:c++20 flag will be added to the compiler and /std:latest will be for upcoming (C++23 or newer) features.

    As for when, I have no idea. It will be during 2021 though. Whether or not it will be Visual Studio 2019 16.10 or a new version of Visual Studio is not something known to people outside of Microsoft.

    Also, it is important to note that no compiler is C++ 20 complete as of the time of writing.

    1 person found this answer helpful.
    0 comments No comments