-
Notifications
You must be signed in to change notification settings - Fork 1
P2758 R5 Emitting messages at compile time #1445
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
Comments
Since this paper has character encoding considerations, I'm going to schedule it for SG16 review. |
Relevant to https://isocpp.org/files/papers/P2758R0.html#improving-static_assert, see the previously discussed paper (which I authored) https://open-std.org/JTC1/SC22/WG21/docs/papers/2015/n4433.html and the corresponding EWG notes on the wiki from the Lenexa meeting. Of note, it already contains potential wording, but was never reviewed by a Core expert and likely needs updating since we've done lots of character encoding work since then. |
This was discussed in EWG during the February 8, 2023 afternoon session in Issaquah. The following polls were taken: EWG would like to encourage more work on P2741R0 (static_assert-with-constexpr-message), solicit feedback from SG16, and see it again with core expert reviewed wording.
Result: Consensus EWG would like to encourage more work on P2758 in the direction of constexpr_print_str/constexpr_error_str.
Result: Consensus EWG ALSO would like to encourage more work on this topic that can print multiple errors per constant evaluation, but still result in a failed TU.
Result: Consensus EWG would like to encourage more work on P2758 in the direction of a constexpr std::format.
Result: Consensus |
@tahonermann we can remove the SG16 tag from thar, right? SG16 guidance was given in #1434 |
@tahonermann you are right, but i think we lost a needs-revision on this paper then. |
I checked with @brevzin, he says:
So let's mark it as needing revision and track @cor3ntin 's paper first. Once @cor3ntin 's paper proceeds (or dies!) we can move this one accordingly. |
Ahem. FTFY. |
I'm going to retain the SG16 label for now. EWG can, and should, proceed with any review desired of course, but I want to run a new revision by SG16 since we haven't discussed the parts of the paper that are not covered by P2741 (user-generated |
P2758R1 Emitting messages at compile time (Barry Revzin, ) |
P2758R2 Emitting messages at compile time (Barry Revzin) |
P2758R4 Emitting messages at compile time (Barry Revzin) |
2025-01-28 Library Evolution TeleconP2758R4: Emitting messages at compile time 2025-01-28 Library Evolution Telecon Minutes Champion: Barry Revzin SummaryPOLL: We would like to rename the std::constexpr_print_str overloads to std::constexpr_debug_print_str.
Attendance: 31 POLL: We would like to remove all the std::constexpr_print_str overloads from the proposal.
Attendance: 29 F: Implementation concerns in the current form POLL: We would like to remove the std::constexpr_print_str(string_view) overload from the proposal (as we want to control marking it with tags)
Attendance: 29 POLL: We would like to explore alternative design for the interface currently proposed in P2758 (e.g. taking an enum with severity, or otherwise).
Attendance: 29 POLL: Make the interface described in P2758R4 “consteval” (by that eliminating them from working on run-time)
Attendance: 29 POLL: Forward P2758R4 to LWG (pending SG16’s approval)
Attendance: 28 Paper forwarding checklist:
Next StepsPaper was forwarded to LWG, pending SG16 review of:
@tahonermann please remove the SG16 lable after seen, so that LWG will know they can look at it. Thank you! :) |
CWG 2025-02-13 in Hagenberg: Assigned for pre-review. Note: When are such messages emitted for constexpr/consteval destructors? |
SG16 reviewed P2758R4 during the 2025-02-05 SG16 meeting. The following polls were taken.
SG16 asked for changes, so I'm adding the needs-revision label. The requested change to add support for I'll retain the SG16 label for now to confirm that SG16's request has been addressed once a new revision is submitted. |
Thank you to SG16 for the valuable input! |
P2758R5 Emitting messages at compile time (Barry Revzin) |
P2758R0 Emitting messages at compile time (Barry Revzin)
The text was updated successfully, but these errors were encountered: