| 120 | } |
| 121 | |
| 122 | oidn_inline T* detach() noexcept |
| 123 | { |
| 124 | T* res = ptr; |
| 125 | ptr = nullptr; |
| 126 | return res; |
| 127 | } |
| 128 | |
| 129 | friend oidn_inline bool operator < (const Ref<T>& a, const Ref<T>& b) noexcept { return a.ptr < b.ptr; } |
| 130 |
nothing calls this directly
no outgoing calls
no test coverage detected