From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1116ece181be1aea X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-04 01:28:21 PST Path: archiver1.google.com!news2.google.com!newsfeed.stanford.edu!cyclone.bc.net!in.100proofnews.com!in.100proofnews.com!borium.box.nl!fu-berlin.de!uni-berlin.de!dialin-145-254-043-040.arcor-ip.NET!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Counter-proposal for variable arrays Date: Sat, 04 Oct 2003 10:33:07 +0200 Organization: At home Message-ID: References: <3F739C1D.4030907@attbi.com> <3F78E850.8010401@comcast.net> <3F797748.3000203@noplace.com> <834clb.uan1.ln@skymaster> <3F79EF18.7060600@comcast.net> <3F7B1076.8060106@comcast.net> <5mknnv4u96qqudrt4bd8n4t1cljp2fjlp8@4ax.com> <1065215180.95094@master.nyc.kbcfp.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: dialin-145-254-043-040.arcor-ip.net (145.254.43.40) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.uni-berlin.de 1065256098 14311757 145.254.43.40 (16 [77047]) User-Agent: KNode/0.7.2 Xref: archiver1.google.com comp.lang.ada:199 Date: 2003-10-04T10:33:07+02:00 List-Id: Hyman Rosen wrote: > Dmitry A. Kazakov wrote: >> After all the whole idea behind STL containers is to provide arrays which >> C++ does not have! > > Huh? C++ has arrays, Pointer arithmetics is not yet an array. > and the STL containers are not particularly > array-like. For the reason above. I do not consider lists because they never were a challenge, even in FORTRAN (:-)). The arrays are. Now, with OO stuff it becomes worse and worse, because an inability to have an array of class-wide elements forces use of all sorts of pointers. > Maybe vector, if you squint a little. -- Regards, Dmitry A. Kazakov www.dmitry-kazakov.de