We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ad05d2 commit 927ae0fCopy full SHA for 927ae0f
1 file changed
cpp/src/arrow/util/iterator.h
@@ -89,7 +89,9 @@ class Iterator : public util::EqualityComparable<Iterator<T>> {
89
return status;
90
}
91
92
- /// Iterators will only compare equal if they are both null
+ /// Iterators will only compare equal if they are both null.
93
+ /// Equality comparability is required to make an Iterator of Iterators
94
+ /// (to check for the end condition).
95
bool Equals(const Iterator& other) const { return ptr_ == other.ptr_; }
96
97
explicit operator bool() const { return ptr_ != NULLPTR; }
0 commit comments