| 157 | custom_delete_count = 0; |
| 158 | |
| 159 | struct CustomDeleter { |
| 160 | auto operator()(TestObj* ptr) const noexcept -> void { |
| 161 | ++custom_delete_count; |
| 162 | delete ptr; |
| 163 | } |
| 164 | }; |
| 165 | |
| 166 | { |
| 167 | kstd::unique_ptr<TestObj, CustomDeleter> p(new TestObj(1)); |
nothing calls this directly
no outgoing calls
no test coverage detected