| 86 | deep_unique_ptr &operator=(deep_unique_ptr<Base> &&ptr) = default; |
| 87 | ~deep_unique_ptr() = default; |
| 88 | friend void swap(deep_unique_ptr &ptr0, deep_unique_ptr<Base> &ptr1) noexcept |
| 89 | { |
| 90 | using std::swap; |
| 91 | swap(ptr0._val, ptr1._val); |
| 92 | swap(ptr0._copy, ptr1._copy); |
| 93 | } |
| 94 | Base &operator*() noexcept |
| 95 | { |
| 96 | return *_val; |