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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.157.6.80 with SMTP id 74mr10730351otn.5.1485274000783; Tue, 24 Jan 2017 08:06:40 -0800 (PST) X-Received: by 10.157.39.202 with SMTP id c68mr1407721otb.8.1485274000745; Tue, 24 Jan 2017 08:06:40 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!r185no1960991ita.0!news-out.google.com!15ni964itm.0!nntp.google.com!r185no1950632ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 24 Jan 2017 08:06:40 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:191:8303:2100:5985:2c17:9409:aa9c; posting-account=fdRd8woAAADTIlxCu9FgvDrUK4wPzvy3 NNTP-Posting-Host: 2601:191:8303:2100:5985:2c17:9409:aa9c References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1554966b-2882-4f1f-8cc8-be5a03e44ad0@googlegroups.com> Subject: Re: Does object renaming allow the view to be a copy? From: Robert Eachus Injection-Date: Tue, 24 Jan 2017 16:06:40 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:33143 Date: 2017-01-24T08:06:40-08:00 List-Id: On Monday, January 23, 2017 at 3:40:10 PM UTC-5, Randy Brukardt wrote: > IMHO, 'Address should only appear in a program that is interfacing to some > memory-mapped entity; else use some form of 'Access (or 'Unchecked_Access). Hmm. My code has cases of: for X'Address use at mod 4; I've also broken abstractions by using 'Address to obtain access to the details of an otherwise private type--those are old, and can be updated to use child packages. I also seem to recall that a lot of the NUMWG work uses address clauses when pulling floating point numbers apart--and putting them back together. and I also have some mixed Fortran and Ada that uses at Foo'Address + 24 or the like to deal with Fortran common blocks that are really overlays. (For example, one declaration has the common block as an array, another converts it to a vector.) Are all of these deprecated now?