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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,842accb6a7d76669 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-06 00:53:08 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!wanadoo.fr!proxad.net!feeder2-1.proxad.net!news1-1.free.fr!not-for-mail Message-ID: <3BE7A4B9.7121B794@free.fr> Date: Tue, 06 Nov 2001 09:52:09 +0100 From: Jean-Marc Bourguet X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: List container strawman 1.1 References: <3BE301D1.4010106@telepath.com> <3BE6A43A.74812D8A@free.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Organization: Guest of ProXad - France NNTP-Posting-Date: 06 Nov 2001 09:53:07 MET NNTP-Posting-Host: 158.140.208.29 X-Trace: 1005036787 news1-1.free.fr 855 158.140.208.29 X-Complaints-To: abuse@proxad.net Xref: archiver1.google.com comp.lang.ada:15905 Date: 2001-11-06T09:53:07+01:00 List-Id: Ted Dennison wrote: > > In article <3BE6A43A.74812D8A@free.fr>, Jean-Marc Bourguet says... > > > >Ted Dennison wrote: > >> > >> I have a new version of the strawman up at my website at > >> http://www.telepath.com/dennison/Ted/Containers-Lists-Unbounded.ads.html > >> . This version has the cascading style sheet too, so hopefully nearly > >> everyone should be able to read it. > > > >I forgot something in my previous post, what about a way of inserting a > >list in constant time, destructing the inserted list? > > An entire list? It would be doable. Does it come up much? > > I'm not sure what your second question is about. If you mean somehow keeping > track of which entires came from another list so that they can possibly in the > future be deleted in one operation, I don't see what use that would be. There is only one suggestion. My suggestion correspond to one of the splice method of the C++ std::list<>. procedure Insert (Location : in Iterator; Inserted_List : in out List); with post condition: Is_Empty(Inserted_List) = True; -- Jean-Marc