Exemplo n.º 1
0
 /** \brief swap content of this and other pointers.
  *  \param other element to swap content with.
  */
 void swap(this_type &other)
 {
   pointer tmp=other.release();
   assert( other.get()==NULL );
   other.t_=get();
   t_=tmp;
 }