File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ namespace _detail {
2222template <typename >
2323struct skip_container ;
2424
25- template <typename T, typename It>
25+ template <typename It>
2626struct skip_iterator {
2727 public:
2828 It it;
@@ -46,8 +46,8 @@ struct skip_iterator {
4646 // Pass the iterator to support the case that *it is rvalue.
4747 return {skip, it};
4848 }
49- template <typename T2, typename It2>
50- bool operator !=(const skip_iterator<T2, It2> &to) const noexcept {
49+ template <typename It2>
50+ bool operator !=(const skip_iterator<It2> &to) const noexcept {
5151 return !done && it != to.it ;
5252 }
5353 skip_iterator &operator ++() noexcept {
@@ -99,8 +99,8 @@ struct skip_container {
9999
100100 private:
101101 const T &original;
102- const skip_iterator<T, decltype (iterable_begin(original))> _begin;
103- const skip_iterator<T, decltype (iterable_end(original))> _end;
102+ const skip_iterator<decltype (iterable_begin(original))> _begin;
103+ const skip_iterator<decltype (iterable_end(original))> _end;
104104
105105 std::optional<std::size_t > orig_container_size_cache;
106106 const std::function<std::size_t ()> orig_container_size = [this ] {
You can’t perform that action at this time.
0 commit comments