rvalues->ref args

Manu via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 13 20:49:27 PDT 2014


What is so bad about producing an implicit temporary? Why are people so
excited about these wildly complex solutions, when the direct solution is
so simple? I've obviously missed something.
On 14 Sep 2014 05:30, "Andrei Alexandrescu via Digitalmars-d" <
digitalmars-d at puremagic.com> wrote:

> On 9/13/14, 1:02 AM, Dmitry Olshansky wrote:
>
>> It was just poorly implemented and only for templates. I don't see how
>> having a different name would help us reach the same effect.
>>
>
> auto ref + static checking + minimal dynamic checking = win
>
> Andrei
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140914/69e28c3c/attachment-0001.html>


More information about the Digitalmars-d mailing list