简体   繁体   English

如何在 Visual Studio 2019 中启用 c++20(16.3 预览版 4)

[英]How to enable c++20 in Visual Studio 2019 (16.3 preview 4)

How to enable c++20 in Visual Studio 2019 (16.3 preview 4)?如何在 Visual Studio 2019(16.3 预览版 4)中启用 c++20?
I'm interesting to test some C++20 features.我对测试一些 C++20 特性很感兴趣。

C++20 isn't a standard yet. C++20 还不是标准。 You can chose to enable the latest supported features from the working draft in Visual Studio, however this is obviously neither complete nor guaranteed to be in any way stable:您可以选择从 Visual Studio 的工作草案中启用最新支持的功能,但是这显然既不完整也不保证在任何方面都稳定:

Right click your project -> Properties -> General -> C++ Language Standard: Select "Preview - Features from the Latest C++ Working Draft (std:c++latest)"右键单击您的项目 -> 属性 -> 常规 -> C++ 语言标准:选择“Preview - Features from the Latest C++ Working Draft (std:c++latest)”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM