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:27:12 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!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: <9rti6v$hcu$1@news.huji.ac.il> 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:26:30 EST Organization: http://www.newsranger.com Date: Fri, 02 Nov 2001 16:26:30 GMT Xref: archiver1.google.com comp.lang.ada:15663 Date: 2001-11-02T16:26:30+00:00 List-Id: In article <9rti6v$hcu$1@news.huji.ac.il>, Ehud Lamm says... >2. Why is List private? Shouldn't it be limited private, so we avoid >possible erros caused by aliasing? Ahh. It finally dawned on me what your objection to private was. (I'm a little slow today again.) We are talking about what happens when you do a "List1 := List2;", aren't we? Yeah, it is either going to have to be limited, or be derived from Ada.Finalization.Controlled. Limited gets rid of the ability to perform funtional operations on it; Controlled get rid of the ability to instantiate it from within a subprogram. Have I mentioned lately how much I dislike the implementation of controlled types? :-{ --- 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.