About Immutable struct members and arrays.

anonymous via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jan 7 01:39:09 PST 2016


On 07.01.2016 09:16, Jack Applegame wrote:
> I think it isn't a bug. I'm not overwriting immutable data, I'm
> replacing old data with a new constructed one. I want to destruct old
> data and fill uninitialized raw memory with a new constructed one.

I don't think it's move's purpose to ignore the type system like that. 
If it was, it would need more warning signs and preferably a more 
obscure name.


More information about the Digitalmars-d-learn mailing list