| 58 | } |
| 59 | |
| 60 | value_type operator*() const { |
| 61 | size_t size = a.mpParent.children.size(); |
| 62 | if (index >= 0 && index < size) { |
| 63 | return a.mpParent.children[index]; |
| 64 | } |
| 65 | return std::weak_ptr<A>(); |
| 66 | } |
| 67 | |
| 68 | // Operators : arithmetic |
| 69 | inline iterator& operator++() { |