[Xapian-devel] Iterators

Michael Uvarov freeakk at gmail.com
Wed May 16 15:57:34 BST 2012

Is there way to clone iterators?

Something like this:

        Xapian::TermIterator x(y); // or x = y
        // Can we change x independently of y?
        // No, we can not. y was also modified.
        assert(*x != *y);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20120516/a4d45ea3/attachment.htm>

More information about the Xapian-devel mailing list