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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9d66743a9fdd96bd X-Google-Attributes: gid103376,public From: Mats Weber Subject: Re: question about functions Date: 2000/01/24 Message-ID: <388C1D60.EB4FDB3F@mail.com>#1/1 X-Deja-AN: 576839527 Content-Transfer-Encoding: 7bit References: <867e3p$8ph$1@news.mgn.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sunrise.ch X-Trace: news1.sunrise.ch 948706657 18914 195.141.231.162 (24 Jan 2000 09:37:37 GMT) Organization: sunrise communications ag Mime-Version: 1.0 NNTP-Posting-Date: 24 Jan 2000 09:37:37 GMT Newsgroups: comp.lang.ada Date: 2000-01-24T09:37:37+00:00 List-Id: Matthew Heaney wrote: > > procedure f (A, B : in T; C : out T); > > > > now you can do C'Address. > > C'Address is only defined if T is a by-reference type. > > See RM95 13.3 (16). Not true. I think you are misinterpreting that paragraph. C'Address will return the address of the actual parameter if T is by reference, and the address of the formal if T is by copy.