Skip to content

Adopt LWG-3533 Make base() const & consistent across iterator wrappers that support input_iterators - #1993

Merged
Stephan T. Lavavej (StephanTLavavej) merged 8 commits into
microsoft:mainfrom
miscco:LWG-3533-iterator-base
Jul 30, 2021
Merged

Conversation

@miscco

Copy link
Copy Markdown
Contributor

A I failed to get element_view to accept my clumsy tests.

Does it add value?

I did split out transform_view::iterator tests

Addresses microsoft#1965
@CaseyCarter Casey Carter (CaseyCarter) changed the title Adopt LWG-3546 Adopt LWG-3533 Jun 9, 2021
@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) added the LWG Library Working Group issue label Jun 10, 2021
@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) changed the title Adopt LWG-3533 Adopt LWG-3533 Make base() const & consistent across iterator wrappers that support input_iterators Jun 10, 2021
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges Outdated
Co-authored-by: S. B. Tam <cpplearner@outlook.com>
Comment thread stl/inc/ranges Outdated
Comment thread stl/inc/ranges Outdated
Comment thread tests/std/tests/P0896R4_views_filter_iterator/env.lst
Comment thread tests/std/tests/P0896R4_views_transform_iterator/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_views_transform_iterator/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_views_transform_iterator/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_views_transform_iterator/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_views_filter_iterator/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_views_filter_iterator/test.cpp
Comment thread tests/std/tests/P0896R4_views_transform_iterator/test.cpp Outdated
@CaseyCarter Casey Carter (CaseyCarter) added the ranges C++20/23 ranges label Jun 22, 2021
@CaseyCarter Casey Carter (CaseyCarter) removed their assignment Jul 15, 2021

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, I'll push the dropped noexcepts.

Comment thread stl/inc/ranges Outdated
Comment thread tests/std/tests/P0896R4_views_filter_iterator/test.cpp Outdated
@StephanTLavavej

Copy link
Copy Markdown
Member

FYI Casey Carter (@CaseyCarter), I pushed simple changes after you approved.

@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for implementing this LWG issue! 😸 ✔️ 🎉

@miscco
Michael Schellenberger Costa (miscco) deleted the LWG-3533-iterator-base branch August 3, 2021 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LWG Library Working Group issue ranges C++20/23 ranges

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants