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

Function SharedPtrEquals

cpp/src/arrow/util/memory_internal.h:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34// are equal.
35template <typename T>
36bool SharedPtrEquals(const std::shared_ptr<T>& left, const std::shared_ptr<T>& right) {
37 if (left == right) return true;
38 if (left == NULLPTR || right == NULLPTR) return false;
39 return left->Equals(*right);
40}
41
42} // namespace internal
43} // namespace arrow

Callers 2

VisitMethod · 0.85
EqualsMethod · 0.85

Calls 1

EqualsMethod · 0.45

Tested by

no test coverage detected