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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,93ab7fc5388e249 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-04 19:46:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjcppf01!usenetserver.com!newsfeeder.randori.com!out.nntp.be!propagator-SanJose!in.nntp.be!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <3C0D8D06.DD4F09F2@acm.org> Subject: Re: List container strawman 1.3 Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Tue, 04 Dec 2001 22:45:42 EST Organization: http://www.newsranger.com Date: Wed, 05 Dec 2001 03:45:42 GMT Xref: archiver1.google.com comp.lang.ada:17427 Date: 2001-12-05T03:45:42+00:00 List-Id: In article <3C0D8D06.DD4F09F2@acm.org>, Jeffrey Carter says... > >I thought we'd agreed not to call the type that indicates a position in >the list "Iterator". IIRC, you thought "Location" was a better name. Part of the logic for that was that we weren't dealing with a full safe iterator, but rather with something that represents a certian location within a certian associated list. Thus "iterator" was a bit misleading for some. Now it isn't. >> The Splice routine was added to support moving list elements from one list to >> another efficiently. (Perhaps version with "from" and "to" iterators for the >> source list would be useful too?) > >I have no idea what Splice does. It basicly moves list items from one list to another without copying them. Insert does roughly the same thing, but makes copies rather than moving the actual elements from one list to another. I picked the name because that is what the STL named the same routine, and it seemed like a good enough name to me. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced.