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

MSVC more standards conformance

Đang mở
#152 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
8.8k
Fork
902
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.