operator =

An auto_ptr assignment operator.

  template<class Y> auto_ptr& operator=(

  auto_ptr<Y>& a) throw();

  auto_ptr& operator=

  (auto_ptr& a) throw();  
Remarks

Returns the this pointer.