Lines Matching defs:iterator
39 // We define a custom data structure template and its iterator as `std`
105 // C++ STL iterator interface.
106 typedef InvalSetIterator<InvalSet<TEMPLATE_INVALSET_P_DEF> > iterator;
107 iterator begin();
108 iterator end();
230 // certain operations are illegal to ensure that the iterator will
289 // Return true if the iterator is at the end of the set.
292 // Move this iterator to the end of the set.
295 // Delete the current element and advance the iterator to point to the next
302 // Extra helpers to support the forward-iterator interface.
317 // Indicates if the iterator is looking at the vector or at the preallocated
321 // the vector to track how many times the iterator has advanced.
323 typename Vector<ElementType>::iterator iterator_;
361 typename InvalSet<TEMPLATE_INVALSET_P_DEF>::iterator
363 return iterator(this);
368 typename InvalSet<TEMPLATE_INVALSET_P_DEF>::iterator
370 iterator end(this);
498 // Note that this function must be safe even while an iterator has acquired
773 iterator_ = typename std::vector<ElementType>::iterator(
776 iterator_ = typename Vector<ElementType>::iterator(
912 typename std::vector<ElementType>::iterator default_iterator;
914 typename Vector<ElementType>::iterator default_iterator;