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 autolearn=ham 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-13 14:53:18 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!newspeer.radix.net!uunet!ash.uu.net!xyzzy!nntp From: Jeffrey Carter Subject: Re: List container strawman X-Nntp-Posting-Host: e246420.msc.az.boeing.com Content-Type: text/plain; charset=us-ascii Message-ID: <3BF1A33D.73DE084F@boeing.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) Content-Transfer-Encoding: 7bit Organization: The Boeing Company X-Accept-Language: en References: <3BE29AF4.80804@telepath.com> Mime-Version: 1.0 Date: Tue, 13 Nov 2001 22:48:29 GMT X-Mailer: Mozilla 4.73 [en]C-CCK-MCD Boeing Kit (WinNT; U) Xref: archiver1.google.com comp.lang.ada:16475 Date: 2001-11-13T22:48:29+00:00 List-Id: Stephen Leake wrote: > > So the base list container must allow the user to control the copying > process. That means either making it Limited and providing a Copy > operation, or making it Controlled and providing Adjust. In either > case, the user of the package must provide a Copy_Element operation > that does the Right Thing. If the client has to provide an Assign procedure for the Element type, then the Element type should be limited private. While I have no problem with this, I think most of the participants in this discussion have already decided that's too complicated for them. -- Jeffrey Carter