comp.lang.ada
 help / color / mirror / Atom feed
From: Jean-Pierre Rosen <rosen@adalog.fr>
Subject: Re: Passing the same actual as both in and out formal parameters?
Date: Tue, 17 Nov 2009 14:13:25 +0100
Date: 2009-11-17T14:13:25+01:00	[thread overview]
Message-ID: <nh7udh.3ue.ln@hunter.axlog.fr> (raw)
In-Reply-To: <044632e0-e40c-4c47-ab56-189f4ae0c15b@u7g2000yqm.googlegroups.com>

Ludovic Brenta a �crit :
> My exampled was heavily simplified; the actual type has about a
> hundred components and the procedure P is a little more complex than
> swapping components :)
> 
> But thanks for the responses, Niklas and Jean-Pierre. They confirm my
> suspicion.
> 
But the important thing is that there is no risk: behaviour is well
defined, and will not change with the next release of the compiler.

If it is not the behaviour you want, you can make a local copy (but you
know that).

-- 
---------------------------------------------------------
           J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr



  reply	other threads:[~2009-11-17 13:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-17  9:50 Passing the same actual as both in and out formal parameters? Ludovic Brenta
2009-11-17 10:31 ` Jean-Pierre Rosen
2009-11-17 11:26   ` Ludovic Brenta
2009-11-17 13:13     ` Jean-Pierre Rosen [this message]
2009-11-17 16:07       ` Ludovic Brenta
2009-11-18 10:00         ` Jean-Pierre Rosen
2009-11-17 10:40 ` Niklas Holsti
2009-11-17 16:26 ` Adam Beneschan
2009-11-17 21:25   ` Randy Brukardt
2009-11-18  0:11     ` Jeffrey R. Carter
2009-11-18  0:23       ` Adam Beneschan
2009-11-18  3:47         ` Jeffrey R. Carter
replies disabled

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