Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@miscco
Copy link
Contributor

@miscco miscco commented Apr 25, 2022

This implements slide_view which is one half of P2442R1

given that this is already a considerable amount of code I thought it best to split it up

Partially fixes #2539

@miscco miscco requested a review from a team as a code owner April 25, 2022 21:37
@StephanTLavavej StephanTLavavej added ranges C++20/23 ranges cxx23 C++23 feature labels Apr 26, 2022
@strega-nil-ms strega-nil-ms self-assigned this May 6, 2022
@strega-nil-ms
Copy link
Contributor

Given that I'm looking at chunk_view (#2685) I've assigned myself to this one too

Copy link
Contributor

@strega-nil-ms strega-nil-ms left a comment

Choose a reason for hiding this comment

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

finished checking ranges and yvals_core; will take a look at tests on Monday Tuesday

@strega-nil-ms strega-nil-ms dismissed their stale review May 9, 2022 14:34

Out-of-date

@strega-nil-ms strega-nil-ms removed their assignment May 12, 2022
@StephanTLavavej

This comment was marked as resolved.

@StephanTLavavej
Copy link
Member

After comparing #2685's last round of feedback to this PR, I pushed changes to rename to _Base_iterator and fix the strengthening on _Iterator(_Iterator<!_Const> _Other) to match the conversion that it's performing: is_nothrow_constructible_v<_Base_iterator, typename _Iterator<!_Const>::_Base_iterator>.

@StephanTLavavej
Copy link
Member

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

StephanTLavavej added a commit to StephanTLavavej/STL that referenced this pull request May 16, 2022
@StephanTLavavej StephanTLavavej merged commit dffb7ad into microsoft:main May 17, 2022
@StephanTLavavej
Copy link
Member

Thanks for implementing the first half of this ranges feature!

🎉 😸 🎉

@miscco miscco deleted the views_slide branch May 17, 2022 06:51
fsb4000 pushed a commit to fsb4000/STL that referenced this pull request Aug 13, 2022
Co-authored-by: nicole mazzuca <[email protected]>
Co-authored-by: Stephan T. Lavavej <[email protected]>
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.

P2442R1 Windowing Range Adaptors: views::chunk, views::slide

5 participants