__host__ __device__ ~unique_ptr() { if(this->get()) { get_deleter()(this->get()); } }
scoped_ptr_impl (scoped_ptr_impl <U, V> *other):data_ (other->release (), get_deleter ()) {}