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?
Ola Fosheim Grøstad via Digitalmars-d Fri, 28 Apr 2017 10:01:39 -0700
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?