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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fa22a73e140a6fd1 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.190.99 with SMTP id gp3mr9205125pbc.1.1326055935989; Sun, 08 Jan 2012 12:52:15 -0800 (PST) Path: lh20ni157458pbb.0!nntp.google.com!news1.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Object-Oriented style question Date: Sun, 08 Jan 2012 15:52:15 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <4f098fcb$0$6577$9b4e6d93@newsspool3.arcor-online.net> <1867838491347747324.347214martin-re.mo.ve.thedowies.com@news.btinternet.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1326055935 11088 192.74.137.71 (8 Jan 2012 20:52:15 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sun, 8 Jan 2012 20:52:15 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:vGxztbRN7fhMllIiz+5v4DOlAns= Content-Type: text/plain; charset=us-ascii Date: 2012-01-08T15:52:15-05:00 List-Id: Martin Dowie writes: > Presumably when you need to store a reference to an object, you'd then pass > in a 'aliased in out' and take an '(Unchecked_)Access? Sure. Or use anonymous access, but then you get run-time accessibility checks, which is (approximately) never what you want. But the need for a dispatching operation to store a reference is fairly rare, in my experience. If you don't need dispatching, then you can use a named access type. - Bob