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
P2264 R7 Make assert() macro user friendly for C and C++ #957
Comments
Clearing LEWG and LEWGI tags for now as we want the C Interop Study Group (SG22) to look at this first. @AaronBallman, once SG22 has forwarded this, please remove any needs-revision tag and add a LEWG tag. |
SG22 reviewed this paper at our Mar 05, 2021 meeting. Should the assert macro be changed to be a variadic macro along the lines of P2264R0? SF F N A SA (WG14) WG14 also reviewed this paper at the March 2021 plenary. Does WG14 wish to see something along the lines of N2621 in C23: |
@AaronBallman and @cor3ntin please chat and determine if LEWG needs to see this. |
@brycelelbach WG14 didn't like the paper so unfortunately WG21 has to see it |
Agreed. SG22 voted with consensus, so I think LEWG should see this. However, LEWG should be aware that WG14 does not have consensus for the change (so adoption of the proposal as-is would mean WG21 is introducing an incompatibility with C). If LEWG sees the paper and suggests substantial direction changes, it may be worth putting it back on the SG22 plate. |
The author has indicated this needs revision. |
P2264R1 Make assert() macro user friendly for C and C++ (Peter Sommerlad) |
P2264R2 Make assert() macro user friendly for C and C++ (Peter Sommerlad) |
Deferred to C++26. |
2022-11-09 13:00 to 15:00 UTC-10 Kona Library Evolution Meeting2022-11-09 13:00 to 15:00 UTC-10 Kona Library Evolution Minutes Champion: n/a (Fabio Fracassi presenting) Chair: Fabio Fracassi POLL: Forward P2264 to LWG as B2 Priority item for C++26 (to be confirmed by electronic polling) as an approved design.
Attendance: 20 + 5 # of Authors: 0 Author Position: n/a Outcome: Unanimous consent SummaryWe think of this as a letter of intend to keep/restore compatibility with C's assert Macro as soon as possible Next StepsTake a Library Evolution electronic poll to send P2264R4 (Make |
2022-11 Library Evolution Electronic Poll OutcomesPoll 2.6: Send [P2264R4] Make assert Macro User Friendly For C And C++ to Library Working Group for C++26, classified as an improvement of an existing feature ([P0592R4] bucket 2 item).
Outcome: Consensus in favor. |
https://wiki.edg.com/bin/view/Wg21issaquah2023/P2264R2-20230209 LWG reviewed at Issaquah. There are impenetrability concerns that need to be addressed. |
This is addressed by P2884. Added now: #1561. |
Implementability concerns too ;-) |
Just to confirm that P2884 addresses only the comment about keywords, and not the issues addressed by P2264 itself. |
P2264R5 Make assert() macro user friendly for C and C++ (Peter Sommerlad) |
Sent to LEWG for "contextual conversion to bool" concerns (see R5 revision history entry in the paper). |
The author decided to avoid the explicit conversion to bool, so we will not see this in LEWG. |
P2264R6 Make assert() macro user friendly for C and C++ (Peter Sommerlad, ) |
P2264R7 Make assert() macro user friendly for C and C++ (Peter Sommerlad, ) |
P2264R0 Make assert() macro user friendly for C and C++ (Peter Sommerlad)
The text was updated successfully, but these errors were encountered: