cpp-best-practices / cpp-best-practices/cppbestpractices

MSVC more standards conformance

未关闭
#152 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
8.8k
派生
902
PR 合并指标
30 天内没有已合并 PR

描述

The [/Zc](https://learn.microsoft.com/en-us/cpp/build/reference/zc-conformance?view=msvc-170) flag has a couple of conformance related changes that are not enabled by default, the /permissive- flag or the /std:c++17 and /std:c++20 flags.

As far as I understand the documentation, these include:
* /Zc:throwingNew
* /Zc:__cplusplus
* /Zc:preprocessor
* /Zc:inline
* /Zc:referenceBinding
* /Zc:strictStrings
* /Zc:templateScope

There are also two non-/Zc flags that I am aware of, that have an impact on conformance:
* /await:strict
* /volatile:iso

If interested, I could create a PR?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。