Skip to content

Implement LWG-3719: Directory iterators should be usable with default sentinel - #2902

Merged
Stephan T. Lavavej (StephanTLavavej) merged 9 commits into
microsoft:mainfrom
frederick-vs-ja:lwg-3719
Jul 28, 2022
Merged

Stephan T. Lavavej (StephanTLavavej) merged 9 commits into
microsoft:mainfrom
frederick-vs-ja:lwg-3719

Conversation

@frederick-vs-ja

Copy link
Copy Markdown
Contributor

Towards #2872. Adding test coverage to the test file for stream iterators and default_sentinel_t.

@frederick-vs-ja
A. Jiang (frederick-vs-ja) requested a review from a team as a code owner July 24, 2022 14:29
@CaseyCarter Casey Carter (CaseyCarter) added LWG Library Working Group issue blocked Something is preventing work on this ranges C++20/23 ranges labels Jul 25, 2022
Comment thread stl/inc/filesystem Outdated
Comment thread stl/inc/filesystem Outdated
Comment thread stl/inc/regex Outdated
Comment thread stl/inc/regex Outdated
Comment thread tests/std/tests/P0896R4_stream_iterators/test.cpp
Comment thread tests/std/tests/P0896R4_stream_iterators/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_stream_iterators/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_stream_iterators/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_stream_iterators/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_stream_iterators/test.cpp Outdated
@CaseyCarter Casey Carter (CaseyCarter) removed the blocked Something is preventing work on this label Jul 25, 2022
@frederick-vs-ja

Copy link
Copy Markdown
Contributor Author

It seems that we haven't silenced clang's warning for if constexpr in C++14 mode...

@CaseyCarter

Casey Carter (CaseyCarter) commented Jul 25, 2022

Copy link
Copy Markdown
Contributor

It seems that we haven't silenced clang's warning for if constexpr in C++14 mode...

In produce code, we have, but tests need to do so individually as desired. (i.e., go ahead and suppress it if you want)

EDIT: Yes, I mean "product code" - but "produce code" sounds so healthy and appetizing.

Comment thread tests/std/tests/P0896R4_stream_iterators/test.cpp
Comment thread tests/std/tests/P0896R4_stream_iterators/test.cpp
Advancing beginning iterators to the end.
Comment thread tests/std/tests/P0896R4_stream_iterators/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_stream_iterators/test.cpp
@strega-nil-ms nicole mazzuca (strega-nil-ms) removed their assignment Jul 26, 2022
@StephanTLavavej

Copy link
Copy Markdown
Member

Pushed changes to address nicole mazzuca (@strega-nil-ms)'s feedback, plus the minor stylistic issue I noticed earlier since we're rerunning tests anyways.

@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 3da2dfd into microsoft:main Jul 28, 2022
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for implementing so many LWG issue resolutions and improving conformance! 😻 😻 😻

@frederick-vs-ja
A. Jiang (frederick-vs-ja) deleted the lwg-3719 branch July 28, 2022 03:37
Igor Zhukov (fsb4000) pushed a commit to fsb4000/STL that referenced this pull request Aug 13, 2022
… sentinel (microsoft#2902)

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants