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

Function DeletePointer

r/src/altrep.cpp:55–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54template <typename T>
55void DeletePointer(std::shared_ptr<T>* ptr) {
56 delete ptr;
57}
58
59template <typename T>
60using Pointer = cpp11::external_pointer<std::shared_ptr<T>, DeletePointer<T>>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected