Thread View: comp.std.c++
1 messages
1 total messages
Started by Frode Nilsen
Sun, 24 Sep 1995 06:04
auto_ptr
Author: Frode Nilsen
Date: Sun, 24 Sep 1995 06:04
Date: Sun, 24 Sep 1995 06:04
21 lines
1056 bytes
1056 bytes
I don't get this auto_ptr::reset() shall not delete it's object what shall then happen in void operator=(auto_ptr&) ? The standard says it shall use reset(), and then you will get a lost pointer. (The old value). Could someone give a simple example on how auto_ptr is intended to be used? Is the updates to the April draft available somewhere? Thanks. Frode [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu. Contact address: std-c++-request@ncar.ucar.edu. The moderation policy is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
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