| 153 | } |
| 154 | |
| 155 | inline EdgeSet::const_iterator EdgeSet::begin() const { |
| 156 | const_iterator ci; |
| 157 | ci.Init(this); |
| 158 | auto s = get_set(); |
| 159 | if (s) { |
| 160 | ci.tree_iter_ = s->begin(); |
| 161 | } else { |
| 162 | ci.array_iter_ = &ptrs_[0]; |
| 163 | } |
| 164 | return ci; |
| 165 | } |
| 166 | |
| 167 | inline EdgeSet::const_iterator EdgeSet::end() const { |
| 168 | const_iterator ci; |