Renaming versus initialisation
- From: Tapio Kelloniemi <invalid@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 27 Sep 2005 21:10:53 GMT
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
.
- Follow-Ups:
- Re: Renaming versus initialisation
- From: Robert A Duff
- Re: Renaming versus initialisation
- Prev by Date: Re: Code completion in ada IDE's
- Next by Date: Re: Code completion in ada IDE's
- Previous by thread: GNAT GPL - Anonymous Access Type
- Next by thread: Re: Renaming versus initialisation
- Index(es):
Relevant Pages
|