Struct that destroys its original handle on copy-by-value

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 31 14:01:08 PDT 2015


On 07/31/2015 12:18 PM, Steven Schveighoffer wrote:
> On 7/31/15 1:21 PM, Ali Çehreli wrote:
>
>> Disallowing automatic copying and providing a function comes to mind.
>
> Isn't that what std.algorithm.move is for?
>
> -Steve

Sounds great and I like it! :)

Ali



More information about the Digitalmars-d-learn mailing list