Friday, December 3, 2010

auto_ptr

auto_ptr<T>::reset(T* p = 0) deletes the owned pointer (if not equal to p), and then sets the owned pointer to p.

No comments:

Post a Comment