Home | History | Annotate | Download | only in support

Lines Matching defs:forward_iterator

92 class forward_iterator
96 template <class U> friend class forward_iterator;
106 forward_iterator() : it_() {}
107 explicit forward_iterator(It it) : it_(it) {}
109 forward_iterator(const forward_iterator<U>& u) :it_(u.it_) {}
114 forward_iterator& operator++() {++it_; return *this;}
115 forward_iterator operator++(int)
116 {forward_iterator tmp(*this); ++(*this); return tmp;}
118 friend bool operator==(const forward_iterator& x, const forward_iterator& y)
120 friend bool operator!=(const forward_iterator& x, const forward_iterator& y)
127 operator==(const forward_iterator<T>& x, const forward_iterator<U>& y)
135 operator!=(const forward_iterator<T>& x, const forward_iterator<U>& y)
294 inline Iter base(forward_iterator<Iter> i) { return i.base(); }