Skip to content
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

Implement P2494R2 Relaxing Range Adaptors To Allow Move-Only Types #2965

Merged
merged 14 commits into from
Aug 27, 2022

Conversation

strega-nil-ms
Copy link
Contributor

@strega-nil-ms strega-nil-ms commented Jul 28, 2022

Fixes #2934

Needs test coverage

Blocked on #2661 (both update __cpp_lib_ranges)

@CaseyCarter CaseyCarter added ranges C++20/23 ranges cxx23 C++23 feature labels Jul 29, 2022
stl/inc/ranges Outdated Show resolved Hide resolved
strega-nil-ms and others added 3 commits July 29, 2022 08:32
Co-authored-by: A. Jiang <de34@live.cn>
@strega-nil-ms strega-nil-ms marked this pull request as ready for review July 30, 2022 00:05
@strega-nil-ms strega-nil-ms requested a review from a team as a code owner July 30, 2022 00:05
WHY IS initializer_list NOT A VIEWABLE_RANGE
tests/std/tests/P2494R2_move_only_range_adaptors/test.cpp Outdated Show resolved Hide resolved
stl/inc/yvals_core.h Outdated Show resolved Hide resolved
stl/inc/yvals_core.h Outdated Show resolved Hide resolved
stl/inc/yvals_core.h Outdated Show resolved Hide resolved
stl/inc/yvals_core.h Outdated Show resolved Hide resolved
stl/inc/ranges Outdated Show resolved Hide resolved
stl/inc/ranges Outdated Show resolved Hide resolved
stl/inc/ranges Outdated Show resolved Hide resolved
stl/inc/ranges Show resolved Hide resolved
stl/inc/ranges Show resolved Hide resolved
this also makes the tests better, imo
stl/inc/ranges Outdated Show resolved Hide resolved
stl/inc/ranges Outdated Show resolved Hide resolved
@StephanTLavavej StephanTLavavej self-assigned this Aug 2, 2022
@StephanTLavavej
Copy link
Member

Thanks, this looks good! I pushed one last round of trivial nitpicks. Now we just need to merge the blocking PR.

@StephanTLavavej StephanTLavavej removed their assignment Aug 3, 2022
@StephanTLavavej StephanTLavavej added the blocked Something is preventing work on this label Aug 3, 2022
@StephanTLavavej StephanTLavavej removed the blocked Something is preventing work on this label Aug 22, 2022
@StephanTLavavej
Copy link
Member

This is now unblocked. 🎉

tests/std/tests/P2494R2_move_only_range_adaptors/env.lst Outdated Show resolved Hide resolved
stl/inc/yvals_core.h Outdated Show resolved Hide resolved
stl/inc/yvals_core.h Outdated Show resolved Hide resolved
@StephanTLavavej StephanTLavavej self-assigned this Aug 26, 2022
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

Copy link
Member

@CaseyCarter CaseyCarter left a comment

Choose a reason for hiding this comment

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

One issue which I have a fix for. I've updated the issues for both P2321R2 an P2474R2 to indicate that their components have changes in P2494R2.

tests/std/tests/P2494R2_move_only_range_adaptors/test.cpp Outdated Show resolved Hide resolved
@StephanTLavavej StephanTLavavej merged commit 04e304b into microsoft:main Aug 27, 2022
@StephanTLavavej
Copy link
Member

Thanks for implementing this feature - now we can finally relax! 😹 🏖️ 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cxx23 C++23 feature ranges C++20/23 ranges
Projects
None yet
Development

Successfully merging this pull request may close these issues.

P2494R2 Relaxing Range Adaptors To Allow Move-Only Types
5 participants
  翻译: