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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,15e41875b75969fc X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!208.49.83.154.MISMATCH!uns-out.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Dynamically reallocated buffer References: <1180679626.254857.59070@w5g2000hsg.googlegroups.com> <1180709349.464436.287820@g4g2000hsf.googlegroups.com> From: Stephen Leake Date: Sat, 02 Jun 2007 08:38:02 -0400 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:lbFmUcvcTpx1T2S3U221x/1VdZw= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 4fd52466164a9759e00d417040 Xref: g2news1.google.com comp.lang.ada:16050 Date: 2007-06-02T08:38:02-04:00 List-Id: Matthew Heaney writes: > On Jun 1, 2:33 am, Maciej Sobczak wrote: >> >> The problem is that Ada.Containers.Vectors does not provide the >> necessary guarantees to be any useful in this context. > > Right, that container does not guarantee that the underlying structure > is a contiguous array (as is the case in C++). Think of it not as an > unbounded array (which would a physical view), but rather as a > container that provides random access (which is the logical view). SAL.Poly.Unbounded_Arrays. http://stephe-leake.org/ada/sal.html -- -- Stephe