rval->ref const(T), implicit conversions

bitwise via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 19 10:43:12 PST 2016


On Tuesday, 19 January 2016 at 18:30:26 UTC, Timon Gehr wrote:
> On 01/19/2016 06:43 AM, bitwise wrote:
>>
>> Finally, this situation simply should not be this complicated. 
>> A ref
>> param should accept an rvalue. @safety is a specific concern, 
>> and unless
>> I'm annotating my code with @safe, I should be able to write 
>> it however
>> I want(within reason).
>>
>> To quote a famous author: "Sometimes, an entire community can 
>> miss a
>> point".
>>
>> This is one of those points.
>
> It actually isn't.

Clearly, it is =)

    Bit



More information about the Digitalmars-d mailing list