Skip to content

Commit

Permalink
advance the iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Dec 27, 2024
1 parent 81488c0 commit c51fac5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions STL_Extension/include/CGAL/Concatenate_iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ class Concatenate_iterator

public:
Concatenate_iterator() : e1_(), i1_(), b2_(), i2_() {}

Concatenate_iterator(It1 e1, It2 b2, It1 i1)
: e1_(e1), i1_(i1), b2_(b2), i2_(b2) {}

Concatenate_iterator(It1 e1, It2 b2, It2 i2, int)
: e1_(e1), i1_(e1), b2_(b2), i2_(i2) {}

Expand Down Expand Up @@ -115,6 +117,7 @@ class Concatenate_iterator
std::size_t res = 0;
while(other != *this){
++res;
++other;
}
return res;
}
Expand Down

0 comments on commit c51fac5

Please sign in to comment.