Home | History | Annotate | Download | only in src

Lines Matching defs:iterator

39 // We define a custom data structure template and its iterator as `std`
99 // C++ STL iterator interface.
100 typedef InvalSetIterator<InvalSet<TEMPLATE_INVALSET_P_DEF> > iterator;
101 iterator begin();
102 iterator end();
219 // certain operations are illegal to ensure that the iterator will
247 class InvalSetIterator : public std::iterator<std::forward_iterator_tag,
272 // Return true if the iterator is at the end of the set.
275 // Move this iterator to the end of the set.
278 // Delete the current element and advance the iterator to point to the next
285 // Extra helpers to support the forward-iterator interface.
300 // Indicates if the iterator is looking at the vector or at the preallocated
304 // the vector to track how many times the iterator has advanced.
306 typename std::vector<ElementType>::iterator iterator_;
333 typename InvalSet<TEMPLATE_INVALSET_P_DEF>::iterator
335 return iterator(this);
340 typename InvalSet<TEMPLATE_INVALSET_P_DEF>::iterator
342 iterator end(this);
465 // Note that this function must be safe even while an iterator has acquired
739 iterator_ = typename std::vector<ElementType>::iterator(
874 typename std::vector<ElementType>::iterator default_iterator;