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,ce0900b60ca3f616 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-02 08:34:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <9rti6v$hcu$1@news.huji.ac.il> <1EyE7.10050$xS6.13527@www.newsranger.com> <9rue9f$j4t$1@nh.pace.co.uk> Subject: Re: List container strawman 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: Fri, 02 Nov 2001 11:33:32 EST Organization: http://www.newsranger.com Date: Fri, 02 Nov 2001 16:33:33 GMT Xref: archiver1.google.com comp.lang.ada:15664 Date: 2001-11-02T16:33:33+00:00 List-Id: In article <9rue9f$j4t$1@nh.pace.co.uk>, Marin David Condic says... >How is assignment handled here? If you don't inherit from Ada.Finalization >how do you make sure you copy the list rather than duplicate pointers to the >list? (Assuming the underlying implementation relies on pointers to list >elements.) Well, the honest answer is that I hadn't thought of that. :-( I guess if the funcional stuff is going to remain in there, then it will have to be a controlled type. That means that users won't be able to instantiate it from within a subprogram (yuk!). If we *do* make it limited, then another issue I just thought of is that we wouldn't be able to make lists of lists (we had already decided that we won't allow limited list components). However, I can't think of a good common use for lists of lists of the top of my head. --- 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.