From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Unchecked_Deallocation with tagged types Date: Thu, 22 Apr 2021 13:16:52 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <607b56f8$0$3721$426a34cc@news.free.fr> <607bf826$0$3733$426a74cc@news.free.fr> <86im4hj6eh.fsf@stephe-leake.org> <86a6pqk89v.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 22 Apr 2021 11:16:52 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="d7794966b333442d2349e2fda4cd48f8"; logging-data="3836"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/fscqW4NuDevPgirX140ubiCqaIJF3wlo=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 Cancel-Lock: sha1:LC3perI9VVgPgtMyCQcb977jT7g= In-Reply-To: <86a6pqk89v.fsf@stephe-leake.org> Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:61897 List-Id: On 4/22/21 10:55 AM, Stephen Leake wrote: > > In this case, the point of the package is precisely to provide a list, The purpose of the package is to provide lists, not a single list. > implemented by an actual list. It's not a "bag" or some other "generic > container". That would be a at higher level, where the type would be > "bag" or "generic_container". Yes, that's why it's a List's Handle (Lists.Handle), something that lets you manipulate a list without knowing how it's implemented. -- Jeff Carter "Why, the Mayflower was full of Fireflies, and a few horseflies, too. The Fireflies were on the upper deck, and the horseflies were on the Fireflies." Duck Soup 95