Odd behavior of darray.dup
solidstate1991
laszloszeremi at outlook.com
Fri Feb 22 11:36:35 UTC 2019
If I want to copy an array of structs with .dup (cannot post the
link in question here at the moment due to non-working clipboard,
it's Color from pixelperfectengine.graphics.common) I get all
zeroes instead of the values from the original array. I haven't
disabled post-blit to my knowledge.
Is it some kind of a bug, or the .dup function has some behavior
that's not currently documented on the site (such as needing a
copy constructor)?
More information about the Digitalmars-d-learn
mailing list