llvm-project/libcxx/test/std/ranges/range.adaptors/range.join.view/iterator
Hui Xie 3d3103b733 [libcxx][ranges] add views::join adaptor object. added test coverage to join_view
- added views::join adaptor object
- added test for the adaptor object
- fixed some join_view's tests. e.g iter_swap test
- added some negative tests for join_view to test that operations do not exist when constraints aren't met
- added tests that locks down issues that were already addressed in previous change
  - LWG3500 `join_view::iterator::operator->()` is bogus
  - LWG3313 `join_view::iterator::operator--` is incorrectly constrained
  - LWG3517 `join_view::iterator`'s `iter_swap` is underconstrained
  - P2328R1 join_view should join all views of ranges
- fixed some issues in join_view and added tests
  - LWG3535 `join_view::iterator::iterator_category` and `::iterator_concept` lie
  - LWG3474 Nesting ``join_views`` is broken because of CTAD
- added tests for an LWG issue that isn't resolved in the standard yet, but the previous code has workaround.
  - LWG3569 Inner iterator not default_initializable

Reviewed By: #libc, var-const

Spies: var-const, libcxx-commits

Differential Revision: https://reviews.llvm.org/D123466
2022-04-21 13:10:46 +02:00
..
arrow.pass.cpp [libcxx][ranges] add views::join adaptor object. added test coverage to join_view 2022-04-21 13:10:46 +02:00
ctor.default.pass.cpp [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
ctor.other.pass.cpp [libcxx][ranges] add views::join adaptor object. added test coverage to join_view 2022-04-21 13:10:46 +02:00
ctor.parent.outer.pass.cpp [libcxx][ranges] add views::join adaptor object. added test coverage to join_view 2022-04-21 13:10:46 +02:00
decrement.pass.cpp [libcxx][ranges] add views::join adaptor object. added test coverage to join_view 2022-04-21 13:10:46 +02:00
eq.pass.cpp [libcxx][ranges] add views::join adaptor object. added test coverage to join_view 2022-04-21 13:10:46 +02:00
increment.pass.cpp [libcxx][ranges] add views::join adaptor object. added test coverage to join_view 2022-04-21 13:10:46 +02:00
iter.move.pass.cpp [libcxx][ranges] add views::join adaptor object. added test coverage to join_view 2022-04-21 13:10:46 +02:00
iter.swap.pass.cpp [libcxx][ranges] add views::join adaptor object. added test coverage to join_view 2022-04-21 13:10:46 +02:00
member_types.compile.pass.cpp [libcxx][ranges] add views::join adaptor object. added test coverage to join_view 2022-04-21 13:10:46 +02:00
star.pass.cpp [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00