From mboxrd@z Thu Jan 1 00:00:00 1970 X-Received: by 2002:ac8:45cd:0:b0:40f:e0dd:8050 with SMTP id e13-20020ac845cd000000b0040fe0dd8050mr112220qto.5.1700226822728; Fri, 17 Nov 2023 05:13:42 -0800 (PST) X-Received: by 2002:a17:902:6b8a:b0:1cc:3c52:1b13 with SMTP id p10-20020a1709026b8a00b001cc3c521b13mr2831768plk.11.1700226822284; Fri, 17 Nov 2023 05:13:42 -0800 (PST) Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!eternal-september.org!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 17 Nov 2023 05:13:41 -0800 (PST) In-Reply-To: <1286cc2e-2fc8-4de4-9598-a6a53e21ce6bn@googlegroups.com> Injection-Info: google-groups.googlegroups.com; posting-host=3.67.78.197; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 3.67.78.197 References: <1286cc2e-2fc8-4de4-9598-a6a53e21ce6bn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Unchecked_Deallocation with tagged class type. From: AdaMagica Injection-Date: Fri, 17 Nov 2023 13:13:42 +0000 Content-Type: text/plain; charset="UTF-8" Xref: news.eternal-september.org comp.lang.ada:65861 List-Id: AdaMagica schrieb am Freitag, 17. November 2023 um 14:12:25 UTC+1: > Blady schrieb am Donnerstag, 16. November 2023 um 21:29:20 UTC+1: > > Thanks, yes, the instanciation of Unchecked_Deallocation seemed to > > indicate that but I was not able to confirm it from the Ada RM. > > A mention in Ada RM 13.11.2 Unchecked Storage Deallocation of that > > particular possibility would be valuable. > type Object(<>) is limited private; > > The box here denotes unknown discriminants, i.e. indefinite types - these include task types; nonsense - I mean class types > limited is "assume the worst" => i.e. any type may be used as actual type for this formal type.