[Xapian-discuss] bug in position_list_end?

...lorenzo lorenzo.ds at gmail.com
Sat Jul 14 16:14:22 BST 2007


2007/7/14, James Aylett <james-xapian at tartarus.org>:
>
> On Sat, Jul 14, 2007 at 04:56:51PM +0200, ...lorenzo wrote:
>
> > it seems to me that method Database::position_list_end doesn't work!
> > it returns a null pointer!
> > any other way to know how long is a position list?
>
> The end doesn't tell you how long the position list is, it tells you
> whether you've got to the end. That's a pretty standard STL-ism.


i was using it to know if i was at the end, comparing with my actual
position:
e.g.

actual_position==position_list_end_iterator

is it wrong?




-- 
...lorenzo


More information about the Xapian-discuss mailing list