Lines Matching defs:Iterator
36 struct Iterator { struct
37 const Reporter *owner;
38 int pos;
40 Iterator(const Reporter *owner, int pos) : owner(owner), pos(pos) {} in Iterator() argument
42 Iterator(const Iterator &that) : owner(that.owner), pos(that.pos) { in Iterator() function
46 Iterator(Iterator &&that) : owner(that.owner), pos(that.pos) { in Iterator() function
50 ~Iterator() { owner->print("iterator dtor"); } in ~Iterator()
52 const Iterator &operator=(const Iterator &that) { in operator =()
59 const Iterator &operator=(Iterator &&that) { in operator =()
66 bool operator==(const Iterator &that) const { in operator ==()
71 Iterator &operator++() { in operator ++()
77 Iterator operator++(int) { in operator ++()
84 int operator*() const { in operator *()
90 size_t operator-(const Iterator &that) const { in operator -()
96 Iterator operator+(int steps) const { in operator +()
101 void print(const char *msg) const { owner->print(msg); } in print()