Returns true if the iterator currently points to a value in the bitmap. New iterators point to the first (minimum) element. It returns false when we iterated over all elements (or bitmap is empty).
| 69 | // New iterators point to the first (minimum) element. |
| 70 | // It returns false when we iterated over all elements (or bitmap is empty). |
| 71 | bool HasValue() const { |
| 72 | return roaring64_iterator_has_value(it_); |
| 73 | } |
| 74 | |
| 75 | uint64_t Value() const { |
| 76 | DCHECK(HasValue()); |
no outgoing calls