Skip to content

Implement P2520R0: move_iterator<T*> should be a random access iterator - #2958

Merged
Stephan T. Lavavej (StephanTLavavej) merged 6 commits into
microsoft:mainfrom
strega-nil:p2520
Aug 3, 2022
Merged

Implement P2520R0: move_iterator<T*> should be a random access iterator#2958
Stephan T. Lavavej (StephanTLavavej) merged 6 commits into
microsoft:mainfrom
strega-nil:p2520

Conversation

@strega-nil-ms

Copy link
Copy Markdown
Contributor

Fixes #2939

Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/yvals_core.h
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/yvals_core.h
@CaseyCarter

Casey Carter (CaseyCarter) commented Jul 28, 2022

Copy link
Copy Markdown
Contributor

The test runner has found the pertinent libc++ test that you'll need to skip.

Comment thread tests/libcxx/skipped_tests.txt Outdated
Comment thread stl/inc/xutility Outdated
Comment thread tests/std/tests/P0896R4_ranges_iterator_machinery/test.cpp
Comment thread tests/libcxx/expected_results.txt
@StephanTLavavej

Copy link
Copy Markdown
Member

nicole mazzuca (@strega-nil-ms) Casey Carter (@CaseyCarter) I pushed changes for two trivial nitpicks and one copy-pasta, FYI.

@StephanTLavavej

Copy link
Copy Markdown
Member

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

@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit 85f4639 into microsoft:main Aug 3, 2022
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for implementing this C++23 feature and moving towards feature completeness! 📉 😹 🚀

nicole mazzuca (strega-nil) added a commit to strega-nil/stl that referenced this pull request Aug 6, 2022
…ator (microsoft#2958)

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Igor Zhukov (fsb4000) pushed a commit to fsb4000/STL that referenced this pull request Aug 13, 2022
…ator (microsoft#2958)

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cxx23 C++23 feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

P2520R0 move_iterator<T*> Should Be A Random-Access Iterator

6 participants