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

Unwrappable iter/sent pairs! #3024

Merged
merged 24 commits into from
Aug 31, 2022

Conversation

strega-nil-ms
Copy link
Contributor

@strega-nil-ms strega-nil-ms commented Aug 10, 2022

The existing machinery leaves much to be desired, see #2992. This will hopefully fix those issues.

Requires tests

@strega-nil-ms
Copy link
Contributor Author

@CaseyCarter how do you feel about my new version?

@CaseyCarter
Copy link
Member

@CaseyCarter how do you feel about my new version?

I feel like the code formatting could be better 🥁 (looking now).

stl/inc/xutility Outdated Show resolved Hide resolved
stl/inc/xutility Outdated Show resolved Hide resolved
stl/inc/xutility Outdated Show resolved Hide resolved
stl/inc/xutility Outdated Show resolved Hide resolved
stl/inc/xutility Outdated Show resolved Hide resolved
stl/inc/xutility Outdated Show resolved Hide resolved
stl/inc/xutility Outdated Show resolved Hide resolved
@strega-nil-ms strega-nil-ms marked this pull request as ready for review August 19, 2022 18:10
@strega-nil-ms strega-nil-ms requested a review from a team as a code owner August 19, 2022 18:10
@strega-nil-ms
Copy link
Contributor Author

It's always fun finding weird bugs in the compiler
sticker: embarrassed but proud

Copy link
Member

@StephanTLavavej StephanTLavavej left a comment

Choose a reason for hiding this comment

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

One test is failing for x86:

C:\a\1\s\tests\std\tests\P0896R4_ranges_alg_reverse_copy\test.cpp(136): fatal error C1060: compiler is out of heap space

@StephanTLavavej
Copy link
Member

@strega-nil-ms Now that #2987 has landed, there's a merge conflict in <xutility> that needs to be resolved.

@strega-nil-ms
Copy link
Contributor Author

@StephanTLavavej it has been moiged!

@strega-nil-ms strega-nil-ms removed their assignment Aug 29, 2022
stl/inc/xmemory Outdated Show resolved Hide resolved
tests/std/include/range_algorithm_support.hpp Outdated Show resolved Hide resolved
tests/std/include/range_algorithm_support.hpp Show resolved Hide resolved
tests/std/include/range_algorithm_support.hpp Outdated Show resolved Hide resolved
stl/inc/xutility Outdated Show resolved Hide resolved
stl/inc/xutility Outdated Show resolved Hide resolved
@StephanTLavavej StephanTLavavej self-assigned this Aug 31, 2022
@StephanTLavavej
Copy link
Member

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

@StephanTLavavej StephanTLavavej merged commit 4495029 into microsoft:main Aug 31, 2022
@StephanTLavavej
Copy link
Member

Thanks for unwrapping these iterators and sentinels so cats can play with the wrapping paper! 🐈 🎁 🐈‍⬛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants