rvalue references
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sat Apr 27 04:11:05 PDT 2013
On 4/27/13 2:37 AM, Manu wrote:
> scope ref T func(scope ref T t) { return t; }
>
> I think this solves the problem.
Consider:
scope ref T func(scope ref T t) { return t; }
scope ref T func2() { T t; return func(t); }
Would be great if you went through all of the existing work on this.
Well after you're done preparing your DConf talks :o).
Andrei
More information about the Digitalmars-d
mailing list