| 165 | } |
| 166 | |
| 167 | inline EdgeSet::const_iterator EdgeSet::end() const { |
| 168 | const_iterator ci; |
| 169 | ci.Init(this); |
| 170 | auto s = get_set(); |
| 171 | if (s) { |
| 172 | ci.tree_iter_ = s->end(); |
| 173 | } else { |
| 174 | ci.array_iter_ = &ptrs_[size()]; |
| 175 | } |
| 176 | return ci; |
| 177 | } |
| 178 | |
| 179 | inline EdgeSet::const_iterator& EdgeSet::const_iterator::operator++() { |
| 180 | CheckNoMutations(); |