-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
P1899R3: views::stride
#2981
Conversation
There was a problem hiding this 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. 😸
tests/std/tests/VSO_0157762_feature_test_macros/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/VSO_0157762_feature_test_macros/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
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`)
a51e22a
to
9869884
Compare
There was a problem hiding this 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!
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Thanks for implementing this C++23 feature and helping the STL make great strides in conformance! 😹 😻 🚀 |
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net> Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Implements P1899R3 -
stride_view
. Closes #2915.Note(s)
std::
-qualified all calls tostd::forward
andstd::move
in tests, because next Clang release (15) is going to warn about "unqualified std cast calls".