MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / deep_unique_ptr

Method deep_unique_ptr

support/DeepCopy.h:64–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 using CopyFunc = std::function<Base *(const Base *)>;
63
64 deep_unique_ptr(std::nullptr_t val = nullptr) noexcept : _val{val}, _copy{}
65 {
66 }
67 template <typename Derived, typename CopyFuncDerived>
68 deep_unique_ptr(Derived *value, const CopyFuncDerived &copy) noexcept : _val{value}, _copy{std::move(copy)}
69 {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected