RFC: scope and borrowing
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Tue Sep 23 03:29:25 PDT 2014
On 9/23/14 6:26 AM, "Marc =?UTF-8?B?U2Now7x0eiI=?= <schuetzm at gmx.net>"
wrote:
> Ok, I take it back ;-) Steven is right. It is however the case that this
> function's return value would still be unique.
Yes, it could be unique. I haven't read this thread really, so I don't
know what has been proposed, but looking at the snippet, wouldn't you
have to tag the return value? You tagged the parameter with unique.
-Steve
More information about the Digitalmars-d
mailing list