llvm-project/libcxx/test/std/ranges/range.adaptors/range.drop
Louis Dionne a9bfb4c4f4 [libc++] Refactor stride_counting_iterator
Instead of storing the wrapped iterator inside the stride_counting_iterator,
store its base so we can have e.g. a stride_counting_iterator of an
input_iterator (which was previously impossible because input_iterators
are not copyable). Also a few other simplifications in stride_counting_iterator.

As a fly-by fix, remove the member base() functions, which are super
confusing.

Differential Revision: https://reviews.llvm.org/D116613
2022-01-18 12:24:05 -05:00
..
base.pass.cpp [libc++] [test] s/ContiguousView/MoveOnlyView/g. NFCI. 2021-10-06 16:43:03 -04:00
begin.pass.cpp [libc++] Refactor stride_counting_iterator 2022-01-18 12:24:05 -05:00
ctad.compile.pass.cpp [libc++] [ranges] Implement P2415R2 owning_view. 2022-01-13 12:29:41 -05:00
ctor.default.pass.cpp [libc++] [test] s/ContiguousView/MoveOnlyView/g. NFCI. 2021-10-06 16:43:03 -04:00
ctor.view.pass.cpp [libc++] [test] s/ContiguousView/MoveOnlyView/g. NFCI. 2021-10-06 16:43:03 -04:00
dangling.cache.pass.cpp [libc++] Various cleanups in the ranges tests 2021-08-30 12:46:32 -04:00
end.pass.cpp [libc++] [test] s/ContiguousView/MoveOnlyView/g. NFCI. 2021-10-06 16:43:03 -04:00
general.pass.cpp [libc++] [test] s/ContiguousView/MoveOnlyView/g. NFCI. 2021-10-06 16:43:03 -04:00
size.pass.cpp [libc++] [test] s/ContiguousView/MoveOnlyView/g. NFCI. 2021-10-06 16:43:03 -04:00
types.h [libc++] [test] s/ContiguousView/MoveOnlyView/g. NFCI. 2021-10-06 16:43:03 -04:00