本文介绍了如何在Visual Studio 2019中启用c ++ 20(16.3预览版4)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Visual Studio 2019(16.3预览版4)中启用c ++ 20?
我对测试C ++ 20的某些功能很感兴趣.

How to enable c++20 in Visual Studio 2019 (16.3 preview 4)?
I'm interesting to test some C++20 features.

推荐答案

C ++ 20尚未成为标准.您可以选择从Visual Studio的工作草案中启用最新的受支持功能,但是显然这既不完整也不保证一定稳定:

C++20 isn't a standard yet. 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:

右键单击您的项目->属性->常规-> C ++语言标准:选择预览-最新C ++工作草案中的功能(std:c ++ latest)"

Right click your project -> Properties -> General -> C++ Language Standard: Select "Preview - Features from the Latest C++ Working Draft (std:c++latest)"

这篇关于如何在Visual Studio 2019中启用c ++ 20(16.3预览版4)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 21:37