Searched defs:forward_iterator (Results 1 - 2 of 2) sorted by relevance

/external/libcxx/test/support/
H A Dtest_iterators.h92 class forward_iterator class
96 template <class U> friend class forward_iterator;
106 forward_iterator() : it_() {} function in class:forward_iterator
107 explicit forward_iterator(It it) : it_(it) {} function in class:forward_iterator
109 forward_iterator(const forward_iterator<U>& u) :it_(u.it_) {} function in class:forward_iterator
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
[all...]
/external/stlport/stlport/stl/
H A D_iterator_base.h263 // The base classes input_iterator, output_iterator, forward_iterator,
270 template <class _Tp, class _Distance> struct forward_iterator : struct in struct:iterator_traits
285 iterator_category(const forward_iterator<_Tp, _Distance>&) { return forward_iterator_tag(); } argument
295 inline _Tp* _STLP_CALL value_type(const forward_iterator<_Tp, _Distance>&) { return __STATIC_CAST(_Tp*, 0); } argument
303 inline _Distance* _STLP_CALL distance_type(const forward_iterator<_Tp, _Distance>&) { return __STATIC_CAST(_Distance*, 0); } argument

Completed in 89 milliseconds