| 159 | } |
| 160 | |
| 161 | Type* data() const |
| 162 | { |
| 163 | if (!d) |
| 164 | return nullptr; |
| 165 | return static_cast<Type*>(d->base()); |
| 166 | } |
| 167 | |
| 168 | DUChainPointer<Type>& operator=(const DUChainPointer<Type>&) = default; |
| 169 | DUChainPointer<Type>& operator=(DUChainPointer<Type>&&) = default; |
no test coverage detected