rval->ref const(T), implicit conversions

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


On Tuesday, 19 January 2016 at 18:57:03 UTC, Timon Gehr wrote:
> On 01/19/2016 07:43 PM, bitwise wrote:
>> 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
>>

> The point isn't particularly original. It's come up in most 
> sufficiently long threads about the issue.

I would argue that there is no sufficient length for this kind of 
thread. The D community will(hopefully) continue to absorb new 
users regularly, and there may come a point where the balance 
tips enough to get this fixed.

     Bit



More information about the Digitalmars-d mailing list