-
Notifications
You must be signed in to change notification settings - Fork 969
Update implemented C++23 language features in "Microsoft C/C++ language conformance by Visual Studio version" #5616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…soft C/C++ language conformance by Visual Studio version"
…ge conformance by Visual Studio version"
@Rageking8 : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
Learn Build status updates of commit 55d5393: ✅ Validation status: passed
For more details, please refer to the build report. |
…ance by Visual Studio version"
Learn Build status updates of commit 14e1a74: ✅ Validation status: passed
For more details, please refer to the build report. |
|  [`P2360R0 Extend init-statement to allow alias-declaration`](https://wg21.link/p2360r0) | no | | ||
|  [`P2362R3 Remove non-encodable wide character literals and multicharacter wide character literals`](https://wg21.link/p2362r3) | no | | ||
|  [`P2437R1 Support for #warning`](https://wg21.link/p2437r1) | no | | ||
|  [`P2448R2 Relaxing some constexpr restrictions`](https://wg21.link/p2448r2) | no | | ||
|  [`P2460R2 Relax requirements on wchar_t to match existing practices`](https://wg21.link/p2460r2) | no | | ||
|  [`P2468R2 The Equality Operator You Are Looking For`](https://wg21.link/p2468r2) | no | | ||
|  [`P2493R0 Missing feature test macros for C++20 core papers`](https://wg21.link/p2493r0) | no | | ||
|  [`P2493R0 Missing feature test macros for C++20 core papers`](https://wg21.link/p2493r0) | VS 2022 17.2 <sup>[DR](#note_DR)</sup> | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems that P2493R0 is a DR, hence the change of superscript in commit 14e1a74. However, looking at the definition of DR:
<a name="note_DR"></a> **DR** These features are enabled in all C++ [`/std`](../build/reference/std-specify-language-standard-version.md) compiler option modes. The C++ Standard committee adopted this change as a retroactive Defect Report to C++11 and all later versions. |
It does not seem to be applicable to this and a couple of other usages.
Can you review the proposed changes? Important: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
These are the updated C++23 language features and their respective references for quick verification of when it's implemented:
P0330R8 Literal Suffix for (signed) size_t
P0847R7 Deducing this
P1102R2 Down with ()!
P1169R4 static operator()
P1938R3 if consteval
P2128R6 Multidimensional subscript operator
P2173R1 Attributes on Lambda-Expressions
P2242R3 Non-literal variables (and labels and gotos) in constexpr functions
P2334R1 preprocessing directives elifdef and elifndef
P2493R0 Missing feature test macros for C++20 core papers
P2589R1 static operator[]