Skip to content

Modernize ranges::copy_if - #958

Merged
Stephan T. Lavavej (StephanTLavavej) merged 3 commits into
microsoft:masterfrom
miscco:ranges_copy_if
Jul 11, 2020
Merged

Modernize ranges::copy_if#958
Stephan T. Lavavej (StephanTLavavej) merged 3 commits into
microsoft:masterfrom
miscco:ranges_copy_if

Conversation

@miscco

Copy link
Copy Markdown
Contributor

Use the new way of delegating the work and improve the tests

@miscco

Copy link
Copy Markdown
Contributor Author

C:\agent_work\1\s\tests\std\tests\P0896R4_ranges_alg_copy_if\test.cpp(84): fatal error C1060: compiler is out of heap space

Double ups

Billy O'Neal (@BillyONeal) we need MOOOOOOOOOORE RAM

Comment thread stl/inc/algorithm Outdated
Comment thread stl/inc/algorithm Outdated
Comment thread stl/inc/algorithm Outdated
Comment thread stl/inc/algorithm Outdated
Comment thread stl/inc/algorithm Outdated
Comment thread stl/inc/algorithm Outdated
Comment thread stl/inc/algorithm
Comment thread tests/std/tests/P0896R4_ranges_alg_copy_if/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_ranges_alg_copy_if/test.cpp Outdated
@CaseyCarter Casey Carter (CaseyCarter) added enhancement Something can be improved and removed cxx20 C++20 feature labels Jul 1, 2020
Comment thread stl/inc/algorithm Outdated
Comment thread tests/std/tests/P0896R4_ranges_alg_copy_if/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_ranges_alg_copy_if/test.cpp Outdated
@miscco
Michael Schellenberger Costa (miscco) force-pushed the ranges_copy_if branch 4 times, most recently from 9286de8 to f31a68c Compare July 3, 2020 18:56

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, I'll push a change to restore <utility> for move().

Comment thread tests/std/tests/P0896R4_ranges_alg_copy_if/test.cpp
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for this series of improvements! One might say that this is a total copycat of #956. 🐈

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

Labels

enhancement Something can be improved ranges C++20/23 ranges

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants