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!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Implementing Rust's borrow checked pointers Date: Wed, 25 Sep 2019 06:36:33 +0200 Organization: Adalog Message-ID: References: <5edf39fb-169a-463a-b28e-ece1d3b553e0@googlegroups.com> <1bf5a548-4d06-4a95-87f6-1e1170b04c99@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 25 Sep 2019 04:36:33 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="e75e059d6bc6de243e4d90482ad5772b"; logging-data="1209"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sQhBaQww5kBBRQWvBWKYl" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cancel-Lock: sha1:dnHWILLH9lbu965lGiyDk8wfjEo= In-Reply-To: <1bf5a548-4d06-4a95-87f6-1e1170b04c99@googlegroups.com> Content-Language: fr Openpgp: preference=signencrypt Xref: reader01.eternal-september.org comp.lang.ada:57192 Date: 2019-09-25T06:36:33+02:00 List-Id: Le 25/09/2019 à 00:09, Lucretia a écrit : >> Can you provide a specific citation? > No, I'm fairly sure I saw it in one of the AARM's under compilation requirements years ago, but I cannot find it now. > You may be confused by 4.9(34/3): "The expression is illegal if its evaluation fails a language-defined check other than Overflow_Check. For the purposes of this evaluation, the assertion policy is assumed to be Check." This means that it is an error if a static expression (evaluated at compile-time) would raise an exception. -- 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