DIP 36: Rvalue References

Timon Gehr timon.gehr at gmx.ch
Tue Apr 23 01:19:43 PDT 2013


On 04/23/2013 10:10 AM, Dicebot wrote:
> On Sunday, 21 April 2013 at 22:16:14 UTC, Timon Gehr wrote:
>>> Passing an r-value by ref is disallowed for arbitrary reasons.
>>
>> Reasons not closely related to lack of 'scope'. So why bind the new
>> rule to scope?
>
> I had quite an impression this was prohibited mostly because of @safe
> issues.

It is disallowed in @system code.


More information about the Digitalmars-d mailing list