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

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 28 11:24:04 PDT 2017


On Friday, 28 April 2017 at 18:05:41 UTC, Steven Schveighoffer 
wrote:
> On 4/28/17 12:56 PM, Ola Fosheim Grøstad wrote:
>> Isn't that an odd stance given that "struct" is supposed to be 
>> a value
>> type?
>>
>
> Not really, but thanks for asking.

Well, it counters the very definition of a value... I guess what 
you are saying is that the conventions are changing for struct 
over time, but that puts .init in a very odd position.


More information about the Digitalmars-d mailing list