Move construction from !is(T == typeof(this))

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 28 09:56:35 PDT 2017


On Thursday, 27 April 2017 at 12:28:38 UTC, Steven Schveighoffer 
wrote:
> My solution would be to push the duplication onto the user. I'm 
> not a fan of implicit copying. It's also wasteful in the case 
> of immutable data.

Isn't that an odd stance given that "struct" is supposed to be a 
value type?



More information about the Digitalmars-d mailing list