rvalue references
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue Apr 23 10:02:46 PDT 2013
On 4/23/13 10:38 AM, Dicebot wrote:
> On Tuesday, 23 April 2013 at 14:28:54 UTC, Andrei Alexandrescu wrote:
>> If it were about scope it would be very careful with lifetime of
>> temporaries.
>>
>> Andrei
>
> Please explain. In its current form DIP36 only cares that passed
> temporary exists while called function is executed. I can't imagine any
> sane lifetime rules that would result in violating this.
One matter to look into is returning scope ref from functions (which is
useful).
Andrei
More information about the Digitalmars-d
mailing list