MCPcopy Create free account
hub / github.com/apache/arrow / operator-

Method operator-

cpp/src/arrow/stl_iterator.h:98–100  ·  view source on GitHub ↗

Arithmetic

Source from the content-addressed store, hash-verified

96
97 // Arithmetic
98 difference_type operator-(const ArrayIterator& other) const {
99 return index_ - other.index_;
100 }
101 ArrayIterator operator+(difference_type n) const {
102 return ArrayIterator(*array_, index_ + n);
103 }

Callers

nothing calls this directly

Calls 1

ArrayIteratorClass · 0.70

Tested by

no test coverage detected