| 248 | } |
| 249 | |
| 250 | void FindNext() override |
| 251 | { |
| 252 | this->item_next = std::nullopt; |
| 253 | if (this->item_iter == this->list->items.end()) { |
| 254 | this->has_no_more_items = true; |
| 255 | return; |
| 256 | } |
| 257 | ++this->item_iter; |
| 258 | if (this->item_iter != this->list->items.end()) this->item_next = this->item_iter->first; |
| 259 | } |
| 260 | |
| 261 | void RetargetIterator() override |
| 262 | { |