MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / getUseCount

Function getUseCount

src/api/c/handle.hpp:74–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72/// and migrate function
73template<typename T>
74int getUseCount(const af_array &arr) {
75 detail::Array<T> *A = static_cast<detail::Array<T> *>(arr);
76 return A->useCount();
77}
78
79template<typename T>
80af_array getHandle(const detail::Array<T> &A) {

Callers

nothing calls this directly

Calls 1

useCountMethod · 0.45

Tested by

no test coverage detected