![]() 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 |
||
---|---|---|
.. | ||
base.pass.cpp | ||
begin.pass.cpp | ||
ctad.compile.pass.cpp | ||
ctor.default.pass.cpp | ||
ctor.view.pass.cpp | ||
dangling.cache.pass.cpp | ||
end.pass.cpp | ||
general.pass.cpp | ||
size.pass.cpp | ||
types.h |