This iterator is used to test code that only needs to satisfy the
output_iterator concept. Follow-up changes will use this iterator in
older language Standards.
Details
Details
- Reviewers
ldionne philnik var-const - Group Reviewers
Restricted Project - Commits
- rG83de10738244: [libc++][test] Adds an cpp20_output_iterator.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Since D122074 is on hold (and might be abandoned) I want to remove all pre-c++20 features from this patch.
The patch is still useful for testing in the range based algorithms.
libcxx/test/support/test_iterators.h | ||
---|---|---|
541 | This won't compile - *this is move-only, |
Comment Actions
It would be great if you remove the pre C++20 stuff. This would be nice to have for the ranges algorithm tests.
libcxx/test/support/test_iterators.h | ||
---|---|---|
540–544 | The post-increment operator++ return void with the ranges stuff. |
If D122074 is abandoned, there's no need for the pre C++20 support in this class.