-
Notifications
You must be signed in to change notification settings - Fork 18
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
LWG3776 Avoid parsing format-spec if it is not present or empty #1314
Comments
2022-11-07 10:00 to 11:30 UTC-10 Kona Library Evolution MeetingLWG3776: Avoid parsing format-spec if it is not present or empty 2022-11-07 10:00 to 11:30 UTC-10 Kona Library Evolution Minutes Champion: Victor Zverovich (in-person) Chair: Fabio Fracassi & Billy Baker Minute Taker: Steve Downey POLL: Relax the requirements table 74 and 75 to make the optimization allowed by the issue resolution of LWG3776 a QoI issue with additional changes to the handle class removed
Attendance: 16 + 5 # of Authors: 0 Author Position: n/a Outcome: consensus in favour POLL: Adopt the amended proposed resolution of LWG3776 "Avoid parsing format-spec if it is not present or empty". Return the issue to LWG for C++23 (to be confirmed by electronic polling)
Attendance: 16 + 5 # of Authors: 0 Author Position: n/a Outcome: weak consensus in favour amend the issue and return to LWG Next StepsAmend the issue resolution and return to LWG (electronic poll). |
@jwakely and @JeffGarland can we get the proposed resolution of the issue amended as per above before I take the Library Evolution electronic poll on it? Otherwise I think I'd need a paper - I want it to be clear what exactly we're polling. |
Yes, we can look at the wording. The proposed change seems fine although certainly less strong than the originators proposal. That said, I'm suspicious of the 'is not present' -- unless I'm forgetting this api it's always 'there' -- but can be empty -- suspect we can remove that phrase. |
@JeffGarland I just want to have the proposed resolution updated so that it's clear what we are polling. I'm going to ask Victor to write a short paper. |
I believe there is new information about this being a bad idea that breaks things. @brevzin were you present for the LEWG discussion? |
I wasn't at the discussion, but this is a bad idea that breaks things (or otherwise we can come up with a different design). The current design for formatting ranges is that there is a I recently fixed a bug in So if we want to do this (allow omitting calls to |
(I missed this GitHub issue before.)
I have the strong suspicion there are more related issues, for example a formatter for a |
We will revisit this at Issaquah. @brevzin will you be there? |
Yes, but I won't arrive 'til late Tuesday evening. I'll try to participate remotely Monday-Tuesday tho. |
There is a paper to fix this and related issues: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2733r0.html. |
@vitaut's paper addresses these issues. |
@JeffGarland Can we close this Library issue and point to the paper? |
Could LEWG please review this issue https://cplusplus.github.io/LWG/issue3776
Is the proposed direction a desirable change?
The text was updated successfully, but these errors were encountered: