I close BIP27. I won't be pursuing BIPs anymore

Manu via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 18 22:47:24 PDT 2016


On 19 October 2016 at 06:22, Andrei Alexandrescu via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> On 10/18/2016 04:15 PM, Atila Neves wrote:
>
>>
>> I think I get it; I'm just not sure given the comments that pop up in
>> the forum. Isn't one of the main reasons distinguishing between these two?
>>
>> void fun(ref const Foo);
>> void fun(Foo);
>>
>> If they can't be distinguished, you don't get move semantics "for free".
>>
>
> That's right, thanks Atila. -- Andreu
>

This is obvious though, lval calls the first, rval calls the second. Surely
most programmers would intuitively expect that behaviour? Is there some
issue there?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20161019/893a650b/attachment.html>


More information about the Digitalmars-d mailing list