Lines Matching defs:MyIterator
8 struct MyIterator {
9 MyIterator(unsigned pos);
10 MyIterator(const MyIterator &other);
11 const MyIterator &operator=(const MyIterator &that);
12 MyIterator &operator++();
13 int operator-(const MyIterator &that) const;
14 MyIterator &operator+=(unsigned a);
15 MyIterator operator+(unsigned a) const;
16 bool operator==(const MyIterator &that) const;
17 bool operator!=(const MyIterator &that) const;
23 for (MyIterator it = MyIterator(7); it != MyIterator(41); ++it) {