question

HamzaElashry-MSFT avatar image
0 Votes"
HamzaElashry-MSFT asked YujianYao-MSFT answered

How To Use C++23 in VS

How To Use C++23 in Visual Studio

c++
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Don't you think you might be being a little premature? ;)
You can use the latest implemented C++ features in VS if you set the project's "C++ Language Standard" setting to Preview - /std:c++latest.

1 Vote 1 ·

1 Answer

YujianYao-MSFT avatar image
1 Vote"
YujianYao-MSFT answered

Hi @HamzaElashry-2664,

I’m sorry the current highest version of C++ is only C++20, so C++23 cannot be used in VS.

Best regards,

Elya


If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".


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.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.