On Monday, 29 October 2012 at 06:19:36 UTC, Ali Çehreli wrote:
Just to confirm, the above indeed works: struct SC { immutable(int)* i; } void main() { immutable(SC)[] arr1; SC[] arr2 = arr1.dup; // compiles }
Oh, I thought I've tried it.
[snip] [Really detailed description here] [snip]
Thanks, now I've got it :-)