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
P1083 Move resource_adaptor from Library TS to the C++ WP #33
Comments
Reviewed on Friday in LWG in Kona; needs an update |
P1083R3 Move resource_adaptor from Library TS to the C++ WP (Pablo Halpern) |
folly::detail::std_pmr uses either std::pmr or std::experimental::pmr. Polymorphic Memory Resources has been standardized in C++17, but pmr::resource_adaptor was left behind (cplusplus/papers#33), which means resource_adaptor is not available when a C++17 ready standard library is detected by folly. This commit reimplements test_resource without using the non-standard adaptor.
Summary: `folly::detail::std_pmr` uses either `std::pmr` or `std::experimental::pmr`. "Polymorphic Memory Resources" has been standardized in C++17, but `pmr::resource_adaptor` was [left behind](cplusplus/papers#33), which means `resource_adaptor` is not available when a C++17 ready standard library is detected by folly. This commit reimplements `test_resource` without using the non-standard adaptor. ``` folly/test/sorted_vector_test.cpp:862:31: error: ‘folly::detail::std_pmr::resource_adaptor’ has not been declared 862 | using folly::detail::std_pmr::resource_adaptor; | ^~~~~~~~~~~~~~~~ ``` Pull Request resolved: #1207 Reviewed By: nbronson Differential Revision: D17003049 Pulled By: yfeldblum fbshipit-source-id: 7bcd5b4bb4368366cd57d89b9ef88deaaff808d6
This was not adopted for C++20. Removing the "C++20" label. |
LWG reviewed this paper on 2021-11-05 and found several design related questions that need to be answered before this can move forward. https://wiki.edg.com/bin/view/Wg21telecons2021/P1083-20211105 |
Paper was discussed in LEWG on March 15th 2022 (Full Minutes) 2022-03-15 Library Evolution TeleconP1083R5: Move resource_adaptor from Library TS to the C++ WP Chair: Inbal Levi Champion: Pablo Halpern Minute Taker: Mark Hoemmen SummaryDiscussion about the added facilities in R5 brought up concerns. We'll move forward with the paper without the added facilities. Paper was forwarded for C++26, there was no consensus in the room for forwarding for C++23. POLL: Forward P1083R5 (Move resource_adaptor from Library TS to the C++ WP) for C++23 with priority 3, with the following changes:
(to be approved by LEWG electronic poll)
Attendance: 23 # of Authors: 1 Author Position: SF Outcome: No consensus A: Design phase for C++23 is over. POLL: Forward P1083R5 (Move resource_adaptor from Library TS to the C++ WP) for C++26 with priority 3, with the following changes:
(to be approved by LEWG electronic poll)
Attendance: 23 # of Authors: 1 Author Position: SF Outcome: Consensus in favor SA: I think the audience for this facility will be infinitesimally small, and it doesn't seem like a huge burden for that audience to provide this facility as a custom nonstandard facility for their particular needs. OutcomeR5 of the paper, with the changes stated in the poll, was forwarded to electronic polling with priority 3, for C++26. |
P1083R5 Move resource_adaptor from Library TS to the C++ WP (Pablo Halpern) |
2022-05 Library Evolution Electronic Poll OutcomesPOLL: Return [P1083R5] resource_adaptor to Library Working Group for C++26, classified as an addition ([P0592R4] bucket 3 item).
No consensus. The paper was not updated to follow Library Evolution guidance, which was the cause of most of the votes against. The authors will be asked to produce a new revision with the requested changes and then we will conduct another vote. |
P1083R6 Move resource_adaptor from Library TS to the C++ WP (Pablo Halpern) |
P1083R7 Move resource_adaptor from Library TS to the C++ WP (Pablo Halpern) |
2022-10 Library Evolution Electronic Poll OutcomesReturn [P1083R6] resource_adaptor to Library Working Group for C++26, classified as an addition ([P0592R4] bucket 3 item).
Outcome: Consensus in favor. |
P1083R2 Move resource_adaptor from Library TS to the C++ WP (Pablo Halpern)
https://issues.isocpp.org/show_bug.cgi?id=466
The text was updated successfully, but these errors were encountered: