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: How can one record component be local and another not? Date: Tue, 5 May 2020 15:19:21 +0200 Organization: Adalog Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 5 May 2020 13:19:20 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="ab7f867430dfd4a5f1197866bcb8c5f0"; logging-data="3467"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19CF7ZLlSNh7qEufKzxstri" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cancel-Lock: sha1:ze5g7sfrFchDDxIUsT93C3DASuc= In-Reply-To: Content-Language: fr Xref: reader01.eternal-september.org comp.lang.ada:58586 Date: 2020-05-05T15:19:21+02:00 List-Id: Le 05/05/2020 à 14:59, hreba a écrit : > Don't understand that. R.a and R.p have exactly the same lifetime, which > is the lifetime of R, haven't they? > But R.a can be assigned to any global object, with unlimited lifetime. Note that Unchecked_Access is not "dirty", it just reminds you that some responsabilities of compiler checks are passed on to you. It tells you: "beware with assignments". -- 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