comp.lang.ada
 help / color / mirror / Atom feed
* Renaming versus initialisation
@ 2005-09-27 21:10 Tapio Kelloniemi
  2005-09-28  0:00 ` Robert A Duff
  0 siblings, 1 reply; 6+ messages in thread
From: Tapio Kelloniemi @ 2005-09-27 21:10 UTC (permalink / raw)


Hi

Assuming the following declarations:

type T is ...;

function F return T is ...;

I'm a bit uncertain about the difference of the following declarations:

V1 : T := F;
V2 : T renames F;

I'd like to see an explanation of the effect of an object renaming
declaration versus variable declaration and initialisation, when the object
being renamed is a return value of a function. Many thanks for it.

-- 
Tapio



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-28 18:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-27 21:10 Renaming versus initialisation Tapio Kelloniemi
2005-09-28  0:00 ` Robert A Duff
2005-09-28  8:02   ` Dmitry A. Kazakov
2005-09-28 15:12     ` Tapio Kelloniemi
2005-09-28 16:37       ` Dmitry A. Kazakov
2005-09-28 18:53         ` Jeffrey R. Carter

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