MCPcopy Create free account
hub / github.com/apache/arrow / Next

Method Next

cpp/src/arrow/util/iterator.h:414–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412 explicit VectorPointingIterator(std::vector<T> v) : elements_(std::move(v)) {}
413
414 Result<T*> Next() {
415 if (i_ == elements_.size()) {
416 return NULLPTR;
417 }
418 return &elements_[i_++];
419 }
420
421 private:
422 std::vector<T> elements_;

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected