RFC: scope and borrowing

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 21 01:34:09 PDT 2014


On 9/21/2014 1:25 AM, Jacob Carlborg wrote:
> Am I missing something but isn't "ref" for passing something by reference
> instead of by value. "scope", in this proposal, is for dealing with lifetime? Or
> do you have any other proposal for what "ref" might become?

See this discussion:

http://www.digitalmars.com/d/archives/digitalmars/D/borrowed_pointers_vs_ref_232090.html


More information about the Digitalmars-d mailing list