From: bobduff@world.std.com (Robert A Duff)
Subject: Re: A note on GNAT 3.05 performance
Date: 1996/06/28
Date: 1996-06-28T00:00:00+00:00 [thread overview]
Message-ID: <Dtpny6.72C@world.std.com> (raw)
In-Reply-To: dewar.835605407@schonberg
In article <dewar.835605407@schonberg>, Robert Dewar <dewar@cs.nyu.edu> wrote:
>If you want something passed by reference and your code depends on it,
>either use an access parameter (if the value is guaranteed to be non-null)
>or an explicit access type. This is the only legitimate way to be sure
>that a record is passed by reference.
6.2 lists several cases where you are guaranteed to get pass-by-ref:
tagged types, limited records, etc.
In most cases, I prefer the explicitness of access types, though (either
access parameters or named access types, as appropriate).
- Bob
next prev parent reply other threads:[~1996-06-28 0:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-20 0:00 A note on GNAT 3.05 performance Robert Dewar
1996-06-21 0:00 ` Michael F Brenner
1996-06-22 0:00 ` Robert Dewar
1996-06-22 0:00 ` Jerry van Dijk
1996-06-24 0:00 ` Robert Dewar
1996-06-28 0:00 ` Robert A Duff [this message]
1996-06-28 0:00 ` progers
1996-06-24 0:00 ` Dale Pontius
1996-06-24 0:00 ` Norman H. Cohen
1996-06-24 0:00 ` Robert Dewar
1996-06-24 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox