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

Method operator<

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

Source from the content-addressed store, hash-verified

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 }
63
64 bool operator==(int other) const { return ptr != nullptr && *ptr == other; }
65 friend bool operator==(int left, const HeapInt& right) { return right == left; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected