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

P1899R3: views::stride #2981

Merged
merged 7 commits into from
Aug 7, 2022
Merged

Conversation

JMazurkiewicz
Copy link
Contributor

Implements P1899R3 - stride_view. Closes #2915.

Note(s)

@CaseyCarter CaseyCarter added ranges C++20/23 ranges cxx23 C++23 feature labels Aug 1, 2022
@JMazurkiewicz JMazurkiewicz marked this pull request as ready for review August 1, 2022 21:30
@JMazurkiewicz JMazurkiewicz requested a review from a team as a code owner August 1, 2022 21:30
@strega-nil-ms strega-nil-ms self-assigned this Aug 2, 2022
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.

Thanks, this looks great! Found a small number of issues, should be quick to address. 😸

stl/debugger/STL.natvis 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
tests/std/tests/P1899R3_views_stride/test.cpp Outdated Show resolved Hide resolved
JMazurkiewicz and others added 2 commits August 5, 2022 12:51
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
* Rename `_Iterator_base` to `_Category_base`
* Swap `stride_view` constraints
* Fix `stride_view`'s iterator cross comparisons in tests (`ci <=> ci2` -> `i <=> ci2`)
@strega-nil-ms strega-nil-ms self-assigned this Aug 5, 2022
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.

Apart from the LWG issue we need to file, LGTM!

tests/std/tests/P1899R3_views_stride/test.cpp Outdated Show resolved Hide resolved
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
@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 7b5a482 into microsoft:main Aug 7, 2022
@StephanTLavavej
Copy link
Member

Thanks for implementing this C++23 feature and helping the STL make great strides in conformance! 😹 😻 🚀

@JMazurkiewicz JMazurkiewicz deleted the stride_view branch August 7, 2022 07:11
fsb4000 pushed a commit to fsb4000/STL that referenced this pull request Aug 13, 2022
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
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.

P1899R3 views::stride
4 participants
  翻译: