Lines Matching defs:__fwdl_iterator
203 template <typename T, typename Ptr, typename Ref> struct __fwdl_iterator {
204 typedef __fwdl_iterator<T, __typeof__(T::data) *, __typeof__(T::data) &> iterator;
205 typedef __fwdl_iterator<T, const __typeof__(T::data) *, const __typeof__(T::data) &> const_iterator;
213 __fwdl_iterator(T* it = 0) : item(it) {}
214 __fwdl_iterator(const iterator &rhs): item(rhs.item) {}
215 __fwdl_iterator<T, Ptr, Ref>& operator++() { item = item->next; return *this; }
216 __fwdl_iterator<T, Ptr, Ref> operator++(int) {
233 friend struct __fwdl_iterator;
521 typedef __fwdl_iterator<__item, T *, T &> iterator;
522 typedef __fwdl_iterator<__item, const T *, const T &> const_iterator;