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,LOTS_OF_MONEY, 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 16:27:09 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!out.nntp.be!propagator-SanJose!in.nntp.be!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: 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 19:26:53 EST Organization: http://www.newsranger.com Date: Wed, 05 Dec 2001 00:26:53 GMT Xref: archiver1.google.com comp.lang.ada:17422 Date: 2001-12-05T00:26:53+00:00 List-Id: In article , Ted Dennison says... > >The latest (1.3) version of the list container strawman is available on my >website at >http://www.telepath.com/dennison/Ted/Containers-Lists-Unbounded.ads.html . OK. I will say that right now I'm pretty satisfied with this version. However there are two issues with it already. :-( The first is this: >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 think the "from" and "to" version may be nessecary. The other issue is that this version won't actually compile as-is under Gnat. (!) Every routine with both List and Iterator types complains that it can't dispatch on both types. Frankly, I'm not sure I want it dispatching at all. I'd think that since the user's view at this point is simply a private type, then these routines would not be created as tagged primitives. Anyway, the only way I know to un-primitive a subprogram is to tack 'Class on the end of the type. Gnat rejects that too, saying that 'Class only works on tagged types. So first it says the types are tagged, then it says they aren't. I sure wish it would make up its mind! :-) Assuming these are valid errors, does anyone know how to fix this? --- 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.