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
P1206 ranges::to: A function to convert any range to a container #145
Comments
LEWG in Kona: (Concerns about convertible-to associative containers, expressing things in terms of CTAD.) |
LEWG in Kona: Add wording with Eric & Casey, send to LWG for C++20. |
Note: p1206r1 has no proposed wording.
|
Sadly, std::ranges is missing an equivalent of boost::copy_range(), so we introduce a replacement: ranges::to(). There is an existing proposal to introduce something similar to the standard library: std::ranges::to() (cplusplus/papers#145). We name our own version similarly, so if said proposal makes it in we can just prepend std:: and be good.
Sadly, std::ranges is missing an equivalent of boost::copy_range(), so we introduce a replacement: ranges::to(). There is an existing proposal to introduce something similar to the standard library: std::ranges::to() (cplusplus/papers#145). We name our own version similarly, so if said proposal makes it in we can just prepend std:: and be good. Signed-off-by: Botond Dénes <bdenes@scylladb.com> Message-Id: <20200529141407.158960-2-bdenes@scylladb.com>
Author: There has been some design changes, this needs to go back to LEWG - I took the liberty to update the labels accordingly |
P1206R2 ranges::to: A function to convert any range to a container (Corentin Jabot, Eric Niebler, Casey Carter) |
P1206R3 ranges::to: A function to convert any range to a container (Corentin Jabot, Eric Niebler, Casey Carter) |
P1206R2: ranges::to 2020-12-14 Library Evolution Telecon Minutes Chair: Ben Craig Champion: Corentin Jabot Minute Taker: Inbal Levi Start: 2020-12-14 08:50 Pacific Standard POLL: We want ranges::to to preallocate memory when using "reservable" containers in order to minimize allocations.
Attendance: 24 # of Authors: 3 Author Position: SF, SF, No Vote Outcome: Consensus in favor POLL: Remove support for nested containers.
Attendance: 24 # of Authors: 3 Author Position: SA, WA, No Vote Outcome: Consensus against changing the paper POLL: Put back support for syntax without parenthesis.
Attendance: 25 # of Authors: 3 Outcome: No consensus to change the paper POLL: We approve of the direction of P1206R3. Attendance: 25 Outcome: No opposition to unanimous consent End: 09:35 SUMMARY: OUTCOME: Bring back a revised paper. Figure out how to deal with container reservation to avoid wasted allocations and rehashes. Please add an example that includes vector self assignment. |
2021-08-03 Library Evolution TeleconP1206R5: P1206R6: 2021-08-03 Library Evolution Telecon Minutes Chair: Bryce Adelstein Lelbach Champion: Corentin Jabot Minute Taker: Ben Craig Start: 2021-08-03 14:04 Pacific End: 14:17 SummaryWhen we reviewed and forwarded this paper to electronic polling on 2021-07-20, we looked at and forwarded R5 with some modifications (e.g. R6), but R5 and R6 have not yet appeared in a mailing, although they have been submitted. So, we briefly discussed the situation to confirm that the preprint of R6 on the isocpp.org paper system had the requested changes and that everyone was okay with polling it. OutcomeModify 2021 Summer Library Evolution Poll 3 to state that it's forwarding P1206R6. |
P1206R5 Conversions from ranges to containers (Corentin Jabot, Eric Niebler, Casey Carter) |
P1206R6 Conversions from ranges to containers (Corentin Jabot, Eric Niebler, Casey Carter) |
2021 Summer Library Evolution PollsP2435: 2021 Summer Library Evolution Poll Outcomes POLL 3: Send P1206R6 (
Outcome: Unanimous consensus in favor. |
LWG reviewed and approved final wording 2022-01-21 Poll: Adopt P1206R7 to the C++ working draft for c++23.
|
P1206R7 Conversions from ranges to containers (Corentin Jabot, Eric Niebler, Casey Carter) |
Approved by WG21 plenary 2022-02-07 |
P1206R1 ranges::to: A function to convert any range to a container (Corentin Jabot, Eric Niebler, Casey Carter)
The text was updated successfully, but these errors were encountered: