19 #ifndef OST_SEQ_IMPL_SEQUENCE_LIST_ITERATOR_HH
20 #define OST_SEQ_IMPL_SEQUENCE_LIST_ITERATOR_HH
27 namespace ost {
namespace seq {
namespace impl {
30 template <
typename T,
typename I>
32 :
public std::iterator<std::random_access_iterator_tag, T>{
40 if (current_it_<end_) {
46 current_it_(it), end_(end)
92 return current_it_==rhs.current_it_;
100 IteratorType current_it_;
102 ValueType current_val_;
ClassType & operator-=(int n)
ClassType operator++(int)
ClassType operator+(int n)
pointer_it< T > end(const std::vector< T > &values)
ClassType & operator+=(int n)
SequenceListIterator< T, I > ClassType
SequenceListIterator(IteratorType it, IteratorType end)
bool operator==(const ClassType &rhs) const
bool operator!=(const ClassType &rhs) const