comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Object-Oriented style question
Date: Sun, 08 Jan 2012 15:52:15 -0500
Date: 2012-01-08T15:52:15-05:00	[thread overview]
Message-ID: <wcc1ur9udc0.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 1867838491347747324.347214martin-re.mo.ve.thedowies.com@news.btinternet.com

Martin Dowie <martin@re.mo.ve.thedowies.com> 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



  reply	other threads:[~2012-01-08 20:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-08 12:45 Object-Oriented style question Georg Bauhaus
2012-01-08 12:52 ` Simon Wright
2012-01-08 13:25   ` Dmitry A. Kazakov
2012-01-08 14:18 ` Robert A Duff
2012-01-08 20:32   ` Martin Dowie
2012-01-08 20:52     ` Robert A Duff [this message]
2012-01-09 22:34   ` Adam Beneschan
2012-01-09 23:21     ` Robert A Duff
2012-01-10  8:34     ` Dmitry A. Kazakov
2012-01-09  8:55 ` Maciej Sobczak
2012-01-09 23:58   ` Georg Bauhaus
2012-01-10  8:47     ` Maciej Sobczak
2012-01-10 10:27       ` Dmitry A. Kazakov
2012-01-10 12:27       ` Georg Bauhaus
2012-01-11  8:54         ` Maciej Sobczak
2012-01-10 21:26       ` Randy Brukardt
2012-02-08 12:23 ` Yannick Duchêne (Hibou57)
2012-02-08 12:39 ` Yannick Duchêne (Hibou57)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox