Skip to content

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

Merged
StephanTLavavej merged 9 commits into
microsoft:mainfrom
frederick-vs-ja:lwg-3719
Jul 28, 2022
Merged

Implement LWG-3719: Directory iterators should be usable with default sentinel#2902
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 frederick-vs-ja requested a review from a team as a code owner July 24, 2022 14:29
@CaseyCarter 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 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
Copy link
Copy Markdown
Contributor

CaseyCarter commented Jul 25, 2022

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.

@CaseyCarter CaseyCarter self-requested a review July 25, 2022 19:42
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 strega-nil-ms removed their assignment Jul 26, 2022
@StephanTLavavej
Copy link
Copy Markdown
Member

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

@StephanTLavavej StephanTLavavej self-assigned this Jul 27, 2022
@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 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 frederick-vs-ja deleted the lwg-3719 branch July 28, 2022 03:37
fsb4000 pushed a commit to fsb4000/STL that referenced this pull request Aug 13, 2022
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