Пример #1
0
 __host__ __device__
 ~unique_ptr()
 {
   if(this->get())
   {
     get_deleter()(this->get());
   }
 }
Пример #2
0
 scoped_ptr_impl (scoped_ptr_impl <U, V> *other):data_ (other->release (), get_deleter ()) {}