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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Community Input for the Maintenance and Revision of the Ada Programming Language Date: Thu, 14 Sep 2017 15:36:46 +0200 Organization: A noiseless patient Spider Message-ID: References: <915874b5-52c0-4aa8-9023-82fddedb816f@googlegroups.com> <67345f73-530c-400b-9eb4-63eeb440154c@googlegroups.com> <9a6338d9-83be-4e45-b8b7-edc56e33537f@googlegroups.com> <2deb28e2-f7e8-4461-b8b8-c2c6cf2784aa@googlegroups.com> <5de470d2-aa3d-4c02-ae2b-266c33a289fe@googlegroups.com> <5126ef7a-3324-4e44-b110-5e4838189f5f@googlegroups.com> <3c76c2ed-319f-410c-8dec-6a80a0948c7a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 14 Sep 2017 13:36:54 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="f9420270e364ab4b4cd51dd266e30de1"; logging-data="3521"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++mke7LB4Muxj5K2NwNkK9" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 In-Reply-To: Content-Language: fr Cancel-Lock: sha1:di1D7Iphiz518ieOqUKIhSUgFok= Xref: news.eternal-september.org comp.lang.ada:48130 Date: 2017-09-14T15:36:46+02:00 List-Id: Le 14/09/2017 à 14:30, Alejandro R. Mosteo a écrit : > Then I guess that an in/out parameter of such a type might be unsafe to > assign, in the sense that depending on the actual argument it might > succeed or raise. Right, but the 'Constrained attribute tells you (within the subprogram) whether the actual parameter can mutate or not -- 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