isRvalue trait

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Oct 10 10:31:51 PDT 2016


On Monday, 10 October 2016 at 12:22:54 UTC, Marc Schütz wrote:
>> I would like to overload to an identity op.
>
> If the compiler is smart enough to understand what 
> `moveEmplace()` does, it could already do this automatically.

Doh! My mistake.

I'll use `moveEmplace`, then.

Thx!


More information about the Digitalmars-d-learn mailing list