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

Method operator==

cpp/src/arrow/util/small_vector_test.cc:57–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 int ToInt() const { return ptr == nullptr ? -98 : *ptr; }
56
57 bool operator==(const HeapInt& other) const {
58 return ptr != nullptr && other.ptr != nullptr && *ptr == *other.ptr;
59 }
60 bool operator<(const HeapInt& other) const {
61 return ptr == nullptr || (other.ptr != nullptr && *ptr < *other.ptr);
62 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected