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: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Better way to fill Storage_IO? Date: Wed, 19 May 2021 09:17:47 +0200 Organization: Adalog Message-ID: References: <3cfe02b8-18d3-4673-b808-48ad29092517n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 19 May 2021 07:17:47 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="ff5b2d12dd419f7edcb4d1a7a5d231c6"; logging-data="8245"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+S1h4qf8dVtLHTerx5AyY" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 Cancel-Lock: sha1:8o6IBPc1I3MJ2gVpve63zgBfG4A= In-Reply-To: Content-Language: fr Xref: reader02.eternal-september.org comp.lang.ada:62009 List-Id: Le 18/05/2021 à 22:39, Simon Wright a écrit : > so as well as the current ARM 13.13.2(4), for subtype S of type T > > procedure S'Write( > Stream : not null access Ada.Streams.Root_Stream_Type'Class; > Item : in T) > > one could have for an object O > > procedure O'Write( > Stream : not null access Ada.Streams.Root_Stream_Type'Class) > > but we don't, not even in Ada 202x. For what benefit? Saving a few keystrokes? -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52 https://www.adalog.fr