| 9155 | } |
| 9156 | |
| 9157 | template <typename U> void copy(linked_ptr<U> const* ptr) { |
| 9158 | value_ = ptr->get(); |
| 9159 | if (value_) |
| 9160 | link_.join(&ptr->link_); |
| 9161 | else |
| 9162 | link_.join_new(); |
| 9163 | } |
| 9164 | }; |
| 9165 | |
| 9166 | template<typename T> inline |
no test coverage detected