Abdelrazak Younes wrote:

> I fully agree. Up to now I still don't fully grasp the difference
> between ParIterator and ParConstIterator for example. And it took me a
> looong time to understand all the others.

Well it is supposed to be const_iterator semantics... You can get one from a
const container, but dereferencing it gives you a const element reference. 

> DocIterator::forwardPar() is more meaningful than
> ParIterator::operator()++ anyway.

I agree. But note that the point here is that there may be some uses of a
real iterator (you can use generic algorithms). Dunno if this is really
used in the code though.

A/


Reply via email to