Move construction from !is(T == typeof(this))
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Fri Apr 28 11:05:41 PDT 2017
On 4/28/17 12:56 PM, Ola Fosheim Grøstad wrote:
> 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?
>
Not really, but thanks for asking.
-Steve
More information about the Digitalmars-d
mailing list