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
P2210 Superior String Splitting #912
Comments
P2210R0: Superior String Splitting 2020-12-14 Library Evolution Telecon Minutes Chair: Ben Craig Champion: Barry Revzin Minute Taker: Inbal Levi Start: 2020-12-14 08:05 Pacific Standard POLL: We should promise more committee time to pursuing ranges string splitting, knowing that our time is scarce and this will leave less time for other work.
Attendance: 26 (27 at the end) # of Authors: 1 Author Position: SF Outcome: Consensus to pursue POLL: Attempt to push P2210 changes into the IS prior to implementers providing a working split_view (with that name). (This requires Barry to provide papers quickly).
Attendance: 27 # of Authors: 1 Author Position: SF Outcome: Barry should bring a paper back sooner rather than later. SUMMARY: OUTCOME: The author should return soon with a paper that has wording. The paper should discuss the tradeoffs between changing behavior vs. providing a new facility. Have an LWG wordsmith preview the wording so that it is suitable for forwarding / polling to forward. |
P2210R1 Superior String Splitting (Barry Revzin) |
I stumbled onto this topic after watching a 2017 lecture by Bjarne Stroustrup where he wishes C++ would have an easy way to split strings, like other languages. See https://www.youtube.com/watch?v=fX2W3nNjJIo at 1:12:20. He says that easy string splitting among other things are needed to give C++ broader appeal and a successful future for the next generation of programmers. The current method with range views is anything but easy. Barry Revzin's proposal looks like a massive improvement. Thank you for all the heavy work involved in this. I sincerely hope a resolution is reached and the standard revised so that we get a usable string splitter in C++. The revised proposal sounds good, which is to rename the less-useful current implementation to "lazy", and adding some variation of Revzin's improved code to the library instead. Preferably without any cruft related to the old, less-useful lazy version. A new, efficient revision of the entire function is better, since most people will be using it to split strings. And the old "more general range-related" one relegated to the "lazy" renaming. |
Hi @Bananaman, thanks for the input. We don't use these GitHub issues for discussion of papers; we just use them to track status. But I'll ping @brevzin so he sees your feedback! |
2021-02-02 Library Evolution TeleconP2210R1: Superior String Splitting 2021-02-02 Library Evolution Telecon Minutes POLL: Send P2210R1 (Superior String Splitting) to electronic balloting to be forwarded to LWG for C++23 (Bucket 2, improvement) with the intention to retroactively apply the paper to C++20.
Attendance: 34 # of Authors: 1 Author Position: SF Outcome: Strong Consensus POLL: P2210 Should add a feature test macro
Attendance: 33 # of Authors: 1 Author Position: WA Outcome: No consensus POLL: P2210 Should bump the value of a feature test macro
Attendance: 33 # of Authors: 1 Author Position: N Outcome: No consensus SummaryThis paper proposes to improve The old behaviour is still available under the new name OutcomeThe paper was forwarded to the Library Working Group, and to Electronic Polling with strong consensus. |
Tentatively scheduled for LWG review 2021-03-12 |
Review go moved forward to 2021-03-05. Unanimous consent (12-0-0) to move forward for c++23 -- retroactive to c++20. Will wait to move to plenary after LEWG electronic poll is complete. https://wiki.edg.com/bin/view/Wg21telecons2021/P2210-20210305 |
P2210R2 Superior String Splitting (Barry Revzin) |
@brycelelbach I'm adding the C++20 tag to reflect the papers that we want retroactive to c++20 |
2021 Spring Library Evolution PollsP2384: 2021 Spring Library Evolution Poll Outcomes POLL 4: Send P2210R2 (Superior String Splitting) to Library Working Group for C++23, classified as an improvement of an existing feature (P0592R4 bucket 2 item), with the recommendation that implementations retroactively apply it to C++20.
Outcome: Unanimous consensus in favor. |
Adopted 2021-06. |
P2210R0 Superior String Splitting (Barry Revzin)
The text was updated successfully, but these errors were encountered: