Re: Renaming versus initialisation



On 27 Sep 2005 20:00:56 -0400, Robert A Duff wrote:

> Tapio Kelloniemi <invalid@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:
>
>> 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.
>
> They are pretty similar.

What about difference in respect to creation of new objects?

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.



Relevant Pages

  • Re: Renaming versus initialisation
    ... >>> I'd like to see an explanation of the effect of an object renaming ... >>> declaration versus variable declaration and initialisation, ... Renaming creates a new object as does initialisation, ...
    (comp.lang.ada)
  • Re: What does this code mean?
    ... but I want a quick explanation. ... apparently this is a variable declaration: ... initializes it with the string "Console" ...
    (comp.lang.cpp)