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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: Uninitialized out parameters. Date: Wed, 6 Apr 2016 16:10:50 +0200 Organization: A noiseless patient Spider Message-ID: References: <3be79ab3-ebc7-4169-9713-d50349662403@googlegroups.com> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 6 Apr 2016 14:07:34 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="b96887e80893c84a90c3007226ca0d1c"; logging-data="19894"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Y0OGYGjIh04yyy6ymDbw/eO8/GWcU89Q=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: Cancel-Lock: sha1:I8LR7U3EIIUYGc+wR9D/A9KrV6c= Xref: news.eternal-september.org comp.lang.ada:30011 Date: 2016-04-06T16:10:50+02:00 List-Id: On 06.04.16 15:44, ahlan@marriott.org wrote: > If there are no null functions because a return value has to be constructed then surely the same applies to null procedures that have out parameters. These too should be prohibited because they too require that a value has to be constructed. Arguably, procedures do not need to construct a value for an out parameter whenever they do not assign any: the actual parameter is allocated already, whether it is initialized or not. Does the RM require an assignment happening as part of the call?