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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,7ff1de84a8945e80,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!h21g2000yqa.googlegroups.com!not-for-mail From: Rick Newsgroups: comp.lang.ada Subject: Access types as parameters Date: Fri, 17 Jul 2009 01:39:45 -0700 (PDT) Organization: http://groups.google.com Message-ID: <521c4843-d40f-4545-9e80-ca725e847090@h21g2000yqa.googlegroups.com> NNTP-Posting-Host: 123.3.136.28 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1247819985 5360 127.0.0.1 (17 Jul 2009 08:39:45 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 17 Jul 2009 08:39:45 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h21g2000yqa.googlegroups.com; posting-host=123.3.136.28; posting-account=q18aiAoAAADbiIPIlD5R8oYVGhuoBvVA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7104 Date: 2009-07-17T01:39:45-07:00 List-Id: Given: type My_Type is ...; and type My_Access_Type is access all My_Type'Class; what is the practical difference between: function My_Function (Thing : access My_Type'Class) return Positive; and function My_Function (Thing : My Access_Type return Positive;