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!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Dereferencing and style guides Date: Mon, 30 Sep 2013 11:18:00 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: <5249ab97$0$6625$9b4e6d93@newsspool2.arcor-online.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 30 Sep 2013 18:18:02 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="5a64620cc83ca47629e9cd617d12fc26"; logging-data="19563"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Kwcd39L76X+X0EC7k9xFpqx8guyTcO14=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <5249ab97$0$6625$9b4e6d93@newsspool2.arcor-online.net> Cancel-Lock: sha1:iGvE7LygGpWJHdXfixQTBwKJTIU= Xref: news.eternal-september.org comp.lang.ada:17359 Date: 2013-09-30T11:18:00-07:00 List-Id: On 09/30/2013 09:49 AM, Georg Bauhaus wrote: > On 30.09.13 14:51, Robert A Duff wrote: >> However, the ".all" syntax is just plain weird. "All what?" It makes >> no sense to me. > > I take it you are deliberately being forgetful? ;-) > > All what? All [components] of the referenced object, of course. Right. "All of whatever the access value designates" is how I would put it. Returning to the OP, I would say it depends on what you want to emphasize to the reader. If you use ".all" when it isn't required, you're emphasizing that this is a dereference of an access value. If you omit it, you're emphasizing what you're doing with the dereferenced value: indexing, selection of a component or operation, and so on. -- Jeff Carter "You can never forget too much about C++." 115