borrowed pointers vs ref

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Mon May 12 14:14:52 PDT 2014


On 5/12/2014 2:13 PM, Walter Bright wrote:
> On 5/12/2014 1:49 PM, Kagamin wrote:
>> How would you assign a borrowed pointer?
>
> A ref could only be assigned to another ref.

I mean to a ref of the same or smaller scope.



More information about the Digitalmars-d mailing list