comp.lang.ada
 help / color / mirror / Atom feed
From: "Matthew Heaney" <matthew_heaney@acm.org>
Subject: Re: question about functions
Date: 2000/01/25
Date: 2000-01-25T00:00:00+00:00	[thread overview]
Message-ID: <mDjj4.5605$bp2.259445@newsread2.prod.itd.earthlink.net> (raw)
In-Reply-To: uwvozl2hp.fsf@gsfc.nasa.gov

In article <uwvozl2hp.fsf@gsfc.nasa.gov> , Stephen Leake 
<Stephen.Leake@gsfc.nasa.gov>  wrote:

> In any case, I have often successfully used 'Address on subprogram
> parameters that are not of a by-reference type, with both ObjectAda
> and GNAT, so at least some compilers go beyond the implementation advice.

Of course it *may* work, but you are depending on an implementation
specific feature, namely the parameter passing mechanism used for
composite types.

Even within one compiler, an array may be passed by value if it's
"small" enough.




  reply	other threads:[~2000-01-25  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-20  0:00 question about functions Pascal LEJEUNE
2000-01-20  0:00 ` Hyman Rosen
2000-01-20  0:00 ` David Starner
2000-01-20  0:00 ` Stephen Leake
2000-01-22  0:00   ` Matthew Heaney
2000-01-24  0:00     ` Stephen Leake
2000-01-25  0:00       ` Matthew Heaney [this message]
2000-01-27  0:00         ` Stephen Leake
2000-01-24  0:00     ` Mats Weber
2000-01-22  0:00   ` Andy
2000-01-22  0:00     ` Matthew Heaney
2000-01-24  0:00     ` Stephen Leake
2000-01-20  0:00 ` Tucker Taft
  -- strict thread matches above, loose matches on Subject: below --
2000-01-21  0:00 Pascal LEJEUNE
2000-01-21  0:00 ` tmoran
2000-01-21  0:00   ` Samuel T. Harris
2000-01-21  0:00     ` Stephen Leake
replies disabled

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