Topic: What does auto_ptr<T>::reset () do?
Author: gregor@netcom.com (Greg Colvin)
Date: 1996/04/27 Raw View
We removed auto_ptr::reset() from the latest draft, so it doesn't do jack.
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]
Author: Randy Merkel <rmerkel@acm.org>
Date: 1996/04/17 Raw View
Howdy,
The April 1995 working paper does not [IMHO] explain what:
1. auto_ptr<T>::reset () does with its current value, i.e., does it
delete it?
2. it [reset] returns.
Does anybody have the answers?
Thanks,
-- Randy
====================================================================
Randy Merkel o-
rmerkel@ACM.org
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]