Article View: comp.std.c++
Article #2201Re: Q: auto_ptr
From: Alex Martelli
Date: Sun, 15 Oct 1995 14:39
Date: Sun, 15 Oct 1995 14:39
20 lines
1341 bytes
1341 bytes
gregor@netcom.com (Greg Colvin) writes:
...
> #if HAS_MEMBER_TEMPLATES
...
> template<class Y> auto_ptr& operator=(auto_ptr& r) {
I think this is meant to be "operator=(auto_ptr<Y>& r)", similarly
to the copy-ctor just above, yes?
Alex
--
DISCLAIMER: these are TOTALLY personal opinions and viewpoints, NOT connected
in any way with my employer, nor any other organization or individual!
Email: martelli@cadlab.it Phone: +39 (51) 597313
CAD.LAB s.p.a., v. Ronzani 7/29, Casalecchio, Italia Fax: +39 (51) 597120
[ 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:
<martelli.813750477@cadlab>Path:
arc1-ca.pugleaf.net!engnews2.Eng.Sun.COM!taumet!clamageReferences:
<JLM.95Oct11152506@ludo.two-oo-one.fr> <gregorDGBB3p.1y8@netcom.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews2.Eng.Sun.COM!taumet!clamage From: martelli@cadlab.cadlab.it (Alex Martelli) Newsgroups: comp.std.c++ Subject: Re: Q: auto_ptr Date: 15 Oct 1995 14:39:10 GMT Organization: Cad.Lab Spa, Bologna, Italia Sender: nntpnews@cadlab.it (NNTP Posting Services) Approved: clamage@eng.sun.com (comp.std.c++) Message-ID: <martelli.813750477@cadlab> References: <JLM.95Oct11152506@ludo.two-oo-one.fr> <gregorDGBB3p.1y8@netcom.com> NNTP-Posting-Host: taumet.eng.sun.com Content-Type: text Content-Length: 552 Originator: clamage@taumet