| 65 | unique_ptr_with_addressof_operator() = default; |
| 66 | explicit unique_ptr_with_addressof_operator(T *p) : impl(p) {} |
| 67 | T *get() const { return impl.get(); } |
| 68 | T *release_ptr() { return impl.release(); } |
| 69 | T **operator&() { throw std::logic_error("Call of overloaded operator& is not expected"); } |
| 70 | }; |