Skip to content

Implement ranges::split_view - #1731

Merged
Casey Carter (CaseyCarter) merged 9 commits into
microsoft:mainfrom
CaseyCarter:split_view
Mar 18, 2021
Merged

Implement ranges::split_view#1731
Casey Carter (CaseyCarter) merged 9 commits into
microsoft:mainfrom
CaseyCarter:split_view

Conversation

@CaseyCarter

@CaseyCarter Casey Carter (CaseyCarter) commented Mar 11, 2021

Copy link
Copy Markdown
Contributor
  • Moves in_in_result, ranges::_Find_unchecked, ranges::mismatch, and _Require_constant up from <algorithm> into <xulility> so split_view can use them without including all of <algorithm> in <ranges>. Moves _Convertible_from up from <xmemory> to <xutility> for the same reason.

Partially addresses #39.

@CaseyCarter
Casey Carter (CaseyCarter) requested a review from a team as a code owner March 11, 2021 22:03
@CaseyCarter Casey Carter (CaseyCarter) added cxx20 C++20 feature ranges C++20/23 ranges labels Mar 11, 2021

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Github, why can't I "Request Changes" on my own PR?

Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread tests/std/tests/P0896R4_views_split/env.lst
Comment thread stl/inc/xutility
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges
Comment thread stl/inc/ranges
Comment thread stl/inc/ranges Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its been a time since I really looked at a view, so I hope this are not too dumb questions

Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges
Comment thread stl/inc/ranges
Comment thread stl/inc/ranges
Comment thread stl/inc/ranges
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM,

Casey Carter (CaseyCarter) added a commit to CaseyCarter/STL that referenced this pull request Mar 17, 2021
Update list of implemented proposals

I have verified that all proposals and LWG issues listed in microsoft#39 are implemented either on main, in microsoft#1436, or in microsoft#1731.
Casey Carter (CaseyCarter) added a commit to CaseyCarter/STL that referenced this pull request Mar 17, 2021
Update list of implemented proposals

I have verified that all 23 proposals and 35 LWG issues listed in microsoft#39 are implemented either on main, in microsoft#1436, or in microsoft#1731.
@CaseyCarter
Casey Carter (CaseyCarter) merged commit 038e07b into microsoft:main Mar 18, 2021
@CaseyCarter
Casey Carter (CaseyCarter) deleted the split_view branch March 18, 2021 20:25
@CaseyCarter

Copy link
Copy Markdown
Contributor Author

Thanks for your contribution!

(The pun is pretty subtle here: I'm thanking myself, as if I had a split personality.)

@CaseyCarter Casey Carter (CaseyCarter) removed their assignment Mar 18, 2021
Casey Carter (CaseyCarter) added a commit that referenced this pull request Mar 18, 2021
Update list of implemented proposals

I have verified that all 23 proposals and 35 LWG issues listed in #39 are implemented either on main, in #1436, or in #1731.

Fixes #39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cxx20 C++20 feature ranges C++20/23 ranges

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants