Ejemplo n.º 1
0
 //!smart_ptr - std::ptrdiff_t. Never throws.
 smart_ptr operator- (std::ptrdiff_t offset) const   
 {  return smart_ptr(this->get()-offset);   }
Ejemplo n.º 2
0
 smart_ptr<T>& operator = (smart_ptr<T> &t) {
   return smart_ptr(t);
 }