Addresses: LWG3719 - Directory iterators should be usable with default sentinel
https://wg21.link/LWG3719
Details
Details
- Reviewers
Mordante - Group Reviewers
Restricted Project - Commits
- rG5f8e4315979c: [libc++][ranges] Addresses: LWG3719 - Directory iterators should be usable…
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for working on this! Several minor comments.
libcxx/include/__filesystem/directory_iterator.h | ||
---|---|---|
106 | This should be C++20. The LWG issues are normally bugs in the C++ Standard. We apply these to all versions of C++ back to C++03. However default_sentinel_t was introduced in C++20, so it requires C++20 or newer. | |
libcxx/include/filesystem | ||
322 | Thanks for updating the synopsis! | |
libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/equal.pass.cpp | ||
26 | Note for these small tests I don't mind having all code in main. | |
29 | Please test the following properties too
|
libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/equal.pass.cpp | ||
---|---|---|
10 | Thank you! Sorry about this oversight. |
This should be C++20. The LWG issues are normally bugs in the C++ Standard. We apply these to all versions of C++ back to C++03. However default_sentinel_t was introduced in C++20, so it requires C++20 or newer.