🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: auto_ptr again

#3044
From: Dick Menninger
Date: Thu, 18 Jan 1996 21:52
33 lines
2218 bytes
> ==========Steve Clamage, 1/17/96==========

[stuff deleted]
 
> That is, single ownership is a deliberate design decision based on the
> semantics an auto-ptr should have. It is not an implementation issue.
 
> Unless someone can present new evidence that shows the
arguments in favor
> of single ownership are wrong, and in addition shows that multiple
> ownership is always better, this subject won't be reopened in
> the committee.
 
> (Yes, examples are known where multiple ownership does what you want.
> That doesn't mean it is overall the best design. And nothing prevents
> you from writing your own multiple-owner class.)

I do not see where either approach is always better.  Why is
one way given an easier time of it than the other?  I think
both semantics have real value and need to be part of the
standard arsenal to be used.  Having both major techniques
available (instead of making it a contest that throws out one
valuable technique) is the more desirable solution from the
customer view [even if it would work you guys to the bone].
That also seems more in the C++ style and philosophy.

Good Day
Dick
Dick.Menninger@DaytonOH.ATTGIS.COM
---
[ 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: <DLECnv.M16@falcon.daytonoh.attgis.com>
Path: arc1-ca.pugleaf.net!fido.asd.sgi.com!austern
References: <4djrn4$js1@engnews1.Eng.Sun.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!fido.asd.sgi.com!austern
From: Dick Menninger <Dick.Menninger@daytonoh.attgis.com>
Newsgroups: comp.std.c++
Subject: Re: auto_ptr again
Date: 18 Jan 1996 13:52:31 PST
Organization: AT&T Global Information Solutions
Approved: austern@isolde.mti.sgi.com
Message-ID: <DLECnv.M16@falcon.daytonoh.attgis.com>
References: <4djrn4$js1@engnews1.Eng.Sun.COM>
Reply-To: mennid <Dick.Menninger@daytonoh.attgis.com>
NNTP-Posting-Host: isolde.mti.sgi.com
X-Original-Date: Thu, 18 Jan 1996 21:50:19 GMT
X-Newsreader: DiscussIT 2.5.1.3 for MS Windows [AT&T Software Products Division]
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBVAwUBMP7BNUy4NqrwXLNJAQH6TAH/WhOIElXwWouP+O6hSYvTCDtZcGMgwezF
 h7lcknAy5a4+ZtFP46DA/T9QXHmWjk20iUU1MVhqHSiGaHNc+eNmxg==
 =5ZR4
Originator: austern@isolde.mti.sgi.com