Skip to content

Implement drop_while_view - #1366

Merged
Stephan T. Lavavej (StephanTLavavej) merged 14 commits into
microsoft:masterfrom
miscco:drop_while
Nov 6, 2020
Merged

Implement drop_while_view#1366
Stephan T. Lavavej (StephanTLavavej) merged 14 commits into
microsoft:masterfrom
miscco:drop_while

Conversation

@miscco

Copy link
Copy Markdown
Contributor

This implements drop_while_view.

Is solemnly swear that at some point in the future I will try to fully understand the magic Casey Carter (@CaseyCarter) has build with the Predicate and Semiregular_box stuff

Until then tests are green so ....

@miscco

Michael Schellenberger Costa (miscco) commented Oct 13, 2020

Copy link
Copy Markdown
Contributor Author

Addresses #39

Some day i will remember to link it to the issue

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.

Not a real review, just correcting the problem from #1393. (At least we're consistent.)

Comment thread tests/std/tests/P0896R4_views_drop_while/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_views_drop_while/test.cpp Outdated
Thanks to STLs eagle eyes

Co-authored-by: Casey Carter <cartec69@gmail.com>
Comment thread tests/std/tests/P0896R4_views_drop_while/env.lst Outdated
Comment thread tests/std/tests/P0896R4_views_drop_while_death/env.lst
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges Outdated
Comment thread tests/std/tests/P0896R4_views_drop_while/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_views_drop_while/test.cpp
Comment thread tests/std/tests/P0896R4_views_drop_while/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_views_drop_while/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_views_drop_while/test.cpp Outdated

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.

Looks good to me - found a small batch of simple issues.

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 tests/std/tests/P0896R4_views_drop_while/test.cpp
Comment thread tests/std/tests/P0896R4_views_drop_while/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_views_drop_while/test.cpp Outdated
Comment thread stl/inc/ranges Outdated
Stephan T. Lavavej (StephanTLavavej) added a commit to StephanTLavavej/STL that referenced this pull request Nov 5, 2020
Stephan T. Lavavej (StephanTLavavej) added a commit to StephanTLavavej/STL that referenced this pull request Nov 5, 2020
@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit 1093aa6 into microsoft:master Nov 6, 2020
@StephanTLavavej

Copy link
Copy Markdown
Member

In my view, the remaining work for C++20 ranges will continue to drop while you continue to submit these amazing PRs. 😹

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.

3 participants