Article View: comp.std.c++
Article #3872Re: sample auto_ptr template
From: Nathan Myers, http://www.cantrip...
Date: Fri, 29 Mar 1996 18:22
Date: Fri, 29 Mar 1996 18:22
19 lines
1661 bytes
1661 bytes
Greg Colvin wrote: > In Santa Cruz we decided to change the auto_ptr copy semantics to > allow returns of auto_ptr from functions. Following is a simple > implementation. It (almost) compiles with the latest Edison Design > Group front end (the template friend declaration choked it). I hasten to add, in defense of John Spicer's sterling reputation, that this was not a released EDG front end, but John's pre-alpha working copy (i.e., only as reliable as other peoples' released versions :-). Nathan Myers ncm@cantrip.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 ]
Technical Details
Message-ID:
<315D79CD.4F28E83E@cantrip.org>Path:
arc1-ca.pugleaf.net!cs.mu.OZ.AU!bounce-backReferences:
<gregorDp23ts.Axt@netcom.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!cs.mu.OZ.AU!bounce-back From: "Nathan Myers, http://www.cantrip.org/" <ncm@cantrip.org> Newsgroups: comp.std.c++ Subject: Re: sample auto_ptr template Date: 29 Mar 96 18:22:55 GMT Organization: The Cantrip Cooperative Approved: fjh@cs.mu.oz.au Message-ID: <315D79CD.4F28E83E@cantrip.org> References: <gregorDp23ts.Axt@netcom.com> NNTP-Posting-Host: mundook.cs.mu.oz.au X-Original-Date: Sat, 30 Mar 1996 10:13:33 -0800 Return-Path: <daemon@meeker.UCAR.EDU> X-Mailer: Mozilla 2.01 (X11; I; Linux 1.2.13 i386) X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMVwqiuEDnX0m9pzZAQH9JwF+IjA/PhQ4XxeVidrGHzM2AI3MYJljGNSe +DLmWhR7YBus0DV0catsez1jbxbuL5Q2 =WBzT Originator: fjh@mundook.cs.mu.OZ.AU