On Sun, 7 Jul 2002, Anas Mughal wrote:
> I have a general question about referencing...
>
> Would it be safe to reference a function return value?
Sure, unless the function returned a reference itself, in which case you
have to continue keeping track of the validity of that reference (i.e., if
I have a general question about referencing...
Would it be safe to reference a function return value?
My main concern is that once the function goes out of scope, is that variable cleaned
up or would it stay around because there is a new reference to it.
I am coming from the C++ and Java world
2 matches
Mail list logo