🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Randy Merkel Wed, 17 Apr 1996 14:57
What does auto_ptr<T>::reset () do?
#4075
Author: Randy Merkel
Date: Wed, 17 Apr 1996 14:57
24 lines
1325 bytes
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                             ]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads