🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #2000

Re: auto_ptr::reset and auto_ptr::operator=

#2000
From: Tony Davis
Date: Wed, 20 Sep 1995 23:43
23 lines
1124 bytes
Interesting.

In article <MATT.95Sep18131639@physics2.Berkeley.EDU> ted@cs.brown.edu (Tony Davis) writes:
> Just to clarify, you are saying that the standard will say that
> auto_ptr<T>::reset() does NOlete its pointee, correct?
                            ^^^^^^

That should say 'NOT delete', yes?


> Tony Davis
> ted@cs.brown.edu


Tony Davis
ted@cs.brown.edu


---
[ 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. ]
Technical Details
Message-ID: <MATT.95Sep20164345@physics2.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!128.32.155.1!matt
References: <199509111753.AA15077@xs1.xs4all.nl> <gregorDEtM0t.Hw2@netcom.com> <MATT.95Sep18131639@physics2.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!128.32.155.1!matt
From: ted@cs.brown.edu (Tony Davis)
Newsgroups: comp.std.c++
Subject: Re: auto_ptr::reset and auto_ptr::operator=
Date: 20 Sep 1995 23:43:45 GMT
Organization: Brown University Department of Computer Science
Approved: matt@physics2.Berkeley.EDU (Matt Austern)
Message-ID: <MATT.95Sep20164345@physics2.Berkeley.EDU>
References: <199509111753.AA15077@xs1.xs4all.nl> <gregorDEtM0t.Hw2@netcom.com> <MATT.95Sep18131639@physics2.Berkeley.EDU>
NNTP-Posting-Host: physics2.berkeley.edu