Le 21/04/17 à 01:15, Tommaso Cucinotta a écrit :
Hi,is there an easy way to check whether a DocIterator d is positioned within two others a and b ? (that is, going through the document using forwardPos(), one encounters a, then d, then b). AFAIU, DocIterator::operator() just compares nesting levels, but no pos() nor pit() etc.
Do you mean DocIterator::operator<() ? It seems to me that it does what you need, doesn't it?
JMarc