Lines Matching refs:Iterator
178 template <typename Iterator>
182 Iterator begin;
183 Iterator end;
185 Array (const Iterator& begin_, const Iterator& end_) : begin(begin_), end(end_) {}
198 template <typename Iterator>
199 std::ostream& operator<< (std::ostream& str, const Array<Iterator>& fmt)
202 for (Iterator cur = fmt.begin; cur != fmt.end; ++cur)
224 template <typename T, typename Iterator = const T*>
228 HexIterator (Iterator iter) : m_iter(iter) {}
230 HexIterator<T, Iterator>& operator++ (void) { ++m_iter; return *this; }
231 HexIterator<T, Iterator> operator++ (int) { return HexIterator(m_iter++); }
233 bool operator== (const HexIterator<T, Iterator>& other) const { return m_iter == other.m_iter; }
234 bool operator!= (const HexIterator<T, Iterator>& other) const { return m_iter != other.m_iter; }
242 Iterator m_iter;
273 template <typename Iterator>
274 inline Format::Array<Iterator> formatArray (const Iterator& begin, const Iterator& end)
276 return Format::Array<Iterator>(begin, end);