| 26 | explicit ptr_owner(std::unique_ptr<pointee> ptr) : ptr_(std::move(ptr)) {} |
| 27 | |
| 28 | bool is_owner() const { return bool(ptr_); } |
| 29 | |
| 30 | std::unique_ptr<pointee> give_up_ownership_via_unique_ptr() { return std::move(ptr_); } |
| 31 | std::shared_ptr<pointee> give_up_ownership_via_shared_ptr() { return std::move(ptr_); } |
no outgoing calls
no test coverage detected