[SAoC] Move semantics and STL containers

Johannes Pfau nospam at example.com
Sun Sep 29 09:53:09 UTC 2019


Am Sat, 28 Sep 2019 14:29:35 -0700 schrieb Manu:

> On Sat, Sep 28, 2019 at 12:55 PM Exil via Digitalmars-d
> <digitalmars-d at puremagic.com> wrote:
>>
>> On Saturday, 28 September 2019 at 11:06:02 UTC, Suleyman wrote:
>> > [1] https://github.com/dlang/dmd/pull/10426 [2]
>> > https://github.com/dlang/dlang.org/pull/2704
>>
>> So was @rvalue pre-approved or something? Last thing I heard about
>> rvalue references is that they were rejected (along with the DIP) and a
>> new DIP was being written. Was that forgone?
> 
> Completely different and unrelated topic. Passing rvalue temporaries by
> ref is different than rvalue references.
> It's not preapproved, this work is optimistic.

But is there some kind of explanation for these changes? There's the spec 
PR of course, but that does not really explain why / how to use this 
feature.



-- 
Johannes


More information about the Digitalmars-d mailing list