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!reader01.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Proposal: Auto-allocation of Indefinite Objects Date: Mon, 27 Jul 2020 11:21:16 +0200 Organization: Adalog Message-ID: References: <94a54092-a56f-4a99-aaec-08dd611c8fd8@googlegroups.com> <8a502b6c-4609-4cd8-b292-5797fe6421e1n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 27 Jul 2020 09:21:17 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="5280131f29b985c48aa9352f49cd145c"; logging-data="28695"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/zmnWf5eM4IrkWWXhrcDCE" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cancel-Lock: sha1:5xgz9Y2lLxo86rdujDbBqiZQoCY= In-Reply-To: <8a502b6c-4609-4cd8-b292-5797fe6421e1n@googlegroups.com> Content-Language: fr Xref: reader01.eternal-september.org comp.lang.ada:59542 List-Id: Le 27/07/2020 à 09:47, Yannick Moy a écrit : >> My proposal is that it should (sometimes?) be possible to declare >> objects of indefinite types such as String and have the compiler >> automatically declare the space for them without the programmer >> having to resort to access types. > I agree with the goal. > You have it already. It's called Unbounded_String. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr