Struct should be invalid after move

Neia Neutuladh neia at ikeran.org
Wed Nov 28 18:59:14 UTC 2018


On Wed, 28 Nov 2018 12:47:07 -0500, Steven Schveighoffer wrote:
> But in any case, this doesn't fix all the problems anyway, you could
> have another alias to the same data, free that alias, and then ptr1 is
> still "valid".

Move constructors and init'ing out the moved variable address that, no?


More information about the Digitalmars-d mailing list