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
P2273 Making std::unique_ptr constexpr #961
Comments
Mailing list review 22-02-2021 - 29-03-2021
Low participation: Update the paper for a second round of Mailing review |
P2273R1 Making std::unique_ptr constexpr (Andreas Fertig) |
2021-05-25 Library Evolution TeleconP2273R1: 2021-05-25 Library Evolution Telecon Minutes Chair: Nevin Liber Champion: Andreas Fertig Minute Taker: Ben Craig SummaryDiscussion on whether or not the ordered comparison operators between two unique_ptrs could, and if so, should be made constexpr. Poll results are meh. Discussion took a tangent on whether or not the standard should mark functions constexpr knowing that they cannot be used as such. It was pointed out that if there are no values which can be used in a constexpr context, the standard already says IFNDR. Similar discussion on if make_shared_for_overwrite could be made constexpr (as default initialized values are uninitialized for some types). As the paper already proposes this, the author will check to see if it is currently allowed. Finally, a brief discussion on whether or not we want shared_ptr, make_shared, etc. to be constexpr. There is weak consensus for this, with the dissenters feeling that it isn’t worth our limited time and resources to do so. OutcomeLEWG is in favor of making unique_ptr constexpr, very neutral on making the ordered comparisons between two unique_ptrs constexpr, and weak consensus for making the shared_ptr family constexpr. |
On 2021-05-25, we reviewed P2273R1, which proposed making Library Evolution had the following opinions after the review:
During the review, we asked the author to verify that making There is implementation experience for the entire P2273 proposal in a fork of libc++: The proposal has wording, which is quite straightforward. Basically, it's just adding Library Evolution did not ask for any changes to P2273 in our last review, and we affirmed that we wanted to pursue it. We asked the author to confirm that something contained in the paper was implementable, which he has done. As such, I determined that another telecon review of P2273 is probably not the best use of Library Evolution time. Instead, I presented the above information to Library Evolution via mailing list and asked who would support taking an electronic poll advancing P2273 to LWG for C++23 as a B2 (improvement) item in the next Library Evolution electronic polling period. 8 people explicitly spoke in favor of this on the mailing list; none spoke against it. Therefore, I have determined that we have consensus to take an electronic poll advancing P2273 to LWG for C++23 as a B2 (improvement) item in the next Library Evolution electronic polling period |
P2273R2 Making std::unique_ptr constexpr (Andreas Fertig) |
The paper is being placed on the Summer 2021 electronic ballot. |
2021 Summer Library Evolution PollsP2435: 2021 Summer Library Evolution Poll Outcomes POLL 5: Send P2273R2 (Making
Outcome: Unanimous consensus in favor. |
This was seen and effectively approved by LWG with a small addition that needs LEWG approval https://wiki.edg.com/bin/view/Wg21telecons2021/P2273-20211105 poll: add P2273r3 to the C++23 working paper with the changes (reviewed by CC and JW)
JW: action item for me to send the version to LEWG. |
P2273R3 Making std::unique_ptr constexpr (Andreas Fertig) |
LEWG action resolved - November 8. No objections. Short thread starting with https://lists.isocpp.org/lib-ext/2021/11/21308.php Ready for plenary. |
Approved by WG21 plenary 2022-02-07 |
P2273R0 Making std::unique_ptr constexpr (Andreas Fertig)
The text was updated successfully, but these errors were encountered: