[Xapian-devel] Iterators

Michael Uvarov freeakk at gmail.com
Wed May 16 11:44:18 BST 2012


Can we use an iterator after deletion of a parent object?

For example, like this;

> Xapian::Document* doc = new Xapian::Document(other_doc);
> TermIterator iter = doc->termlist_begin();
> delete doc;
> iter++;

Best regards,
Uvarov Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20120516/5a39c150/attachment.htm>

More information about the Xapian-devel mailing list