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

P2278R4: cbegin should always return a constant iterator ("Ranges" and "Span" sections) #3187

Merged
merged 21 commits into from
Nov 11, 2022

Conversation

JMazurkiewicz
Copy link
Contributor

@JMazurkiewicz JMazurkiewicz commented Oct 31, 2022

Towards #2918 - "cbegin should always return a constant iterator".

@JMazurkiewicz JMazurkiewicz marked this pull request as ready for review October 31, 2022 15:52
@JMazurkiewicz JMazurkiewicz requested a review from a team as a code owner October 31, 2022 15:52
@StephanTLavavej StephanTLavavej added ranges C++20/23 ranges cxx23 C++23 feature labels Oct 31, 2022
@StephanTLavavej
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

stl/inc/xutility Outdated Show resolved Hide resolved
@StephanTLavavej

This comment was marked as resolved.

@strega-nil-ms strega-nil-ms self-assigned this Nov 1, 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.

very minor request, otherwise this looks great!

stl/inc/ranges Show resolved Hide resolved
stl/inc/ranges Outdated Show resolved Hide resolved
stl/inc/xutility Outdated Show resolved Hide resolved
@strega-nil-ms strega-nil-ms removed their assignment Nov 2, 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.

Thanks for all your hard work!!!

tests/libcxx/skipped_tests.txt Outdated Show resolved Hide resolved
stl/inc/xutility Outdated Show resolved Hide resolved
tests/std/tests/P0896R4_ranges_range_machinery/test.cpp Outdated Show resolved Hide resolved
tests/std/tests/P0896R4_ranges_range_machinery/test.cpp Outdated Show resolved Hide resolved
tests/std/tests/P2278R4_const_span/test.cpp Show resolved Hide resolved
@StephanTLavavej
Copy link
Member

Thanks, this is awesome, with very thorough test coverage! 😻 I've pushed small commits to fix skipped_tests.txt (which isn't used by the GitHub test harness, that's why the checks didn't notice anything) and minor nitpicks. FYI @strega-nil-ms as you previously approved.

@StephanTLavavej StephanTLavavej self-assigned this Nov 11, 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 0b13eb0 into microsoft:main Nov 11, 2022
@StephanTLavavej
Copy link
Member

Thanks for implementing another big part of this feature! 😻 📈 🚀

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.

5 participants