Cannot pass by reference

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Nov 17 01:13:38 PST 2013


On 11/17/13, Ali Çehreli <acehreli at yahoo.com> wrote:
> It allows changing the actual object that the caller had.

Technically no, it changes the reference in the caller, not the actual
object itself. That object is likely still alive until collected if
there are no other references to it.



More information about the Digitalmars-d-learn mailing list