Andre Poenitz wrote: >> Please note that the end iterator now is DocumentIterator(inset) or >> DocumentIteratorEnd(inset), which was the begin() iterator before. > > Is there any place where we actually need the end() iterator + > operator--() combo? The user code is not simpler after your changes...
Why? It's not changed much... you can continue to use for(; it; ++it) if you want. The only difference is that the start iterator is doc_iterator_begin(inset) instead of DocIterator(inset) (that now is the end iterator -- pretty much never needed explicitely if you don't want it). > [But I don't care too much, if you are happy with it, just commit] I'm happy ;-) > That's nice. Thank you. Welcome! Alfredo