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)?
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.
- Odd behavior of darray.dup solidstate1991 via Digitalmars-d-learn
- Re: Odd behavior of darray.dup Bastiaan Veelo via Digitalmars-d-learn
- Re: Odd behavior of darray... solidstate1991 via Digitalmars-d-learn
- Re: Odd behavior of da... Bastiaan Veelo via Digitalmars-d-learn
- Re: Odd behavior o... Bastiaan Veelo via Digitalmars-d-learn
- Re: Odd behavior of darray.dup Dmitriy via Digitalmars-d-learn