Odd behavior of darray.dup

solidstate1991 laszloszeremi at outlook.com
Sat Feb 23 23:35:14 UTC 2019

On Saturday, 23 February 2019 at 19:21:10 UTC, Bastiaan Veelo 
> It works for me:
> https://run.dlang.io/gist/473b0021487275751accaebeb00be05c
> -- Bastiaan

Still no luck, not even with memcpy.

There's even more mystery as I printed out the original static 
immutable array's content, which is different from the 
non-immutable one. Instead of the 32bit hex value of the given 
color in the format of "0x00000000", I get 
"immutable(Color)(#{overlap raw, colors})". This might be a bug.

More information about the Digitalmars-d-learn mailing list