Article View: comp.std.c++
Article #2770Re: Array Initialization
From: rjl
Date: Tue, 28 Nov 1995 20:52
Date: Tue, 28 Nov 1995 20:52
21 lines
1362 bytes
1362 bytes
In article <30BA28C5.50C6@netcom.com> you write: >Rohan Lenard asks: >> Why is there no auto_array_ptr in the DWP ? Is it an omission or a mistake ? > >Neither. The feeling in the committee was that that would be too close to >vector<>. I.e. when you think you want an auto_array_ptr, consider using >a vector<> instead. Which unfortunately is a bit sad, since there is a whole heap of code out there which would benefit from this immediately (without a significant amount of rewrite). Having to use vector of cause does impose a significant amount of rework - for little additional (on top of auto_ptr) value :-( Rohan --- [ 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:
<199511281940.AA05577@hercules.iassf.easams.com.au>Path:
arc1-ca.pugleaf.net!128.32.155.1!mattReferences:
<30B1CB7E.41C67EA6@ecid.cig.mot.com> <48t9t7$5c2@engnews1.eng.sun.com> <199511240018.AA20581@hercules.iassf.easams.com.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!128.32.155.1!matt From: rjl@iassf.easams.com.au Newsgroups: comp.std.c++ Subject: Re: Array Initialization Date: 28 Nov 1995 20:52:56 GMT Organization: EASAMS (Australia) Pty Ltd Approved: matt@physics2.Berkeley.EDU (Matt Austern) Message-ID: <199511281940.AA05577@hercules.iassf.easams.com.au> References: <30B1CB7E.41C67EA6@ecid.cig.mot.com> <48t9t7$5c2@engnews1.eng.sun.com> <199511240018.AA20581@hercules.iassf.easams.com.au> NNTP-Posting-Host: physics2.berkeley.edu