http://d.puremagic.com/issues/show_bug.cgi?id=3971
Denis Derman <denis.s...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |denis.s...@gmail.com --- Comment #15 from Denis Derman <denis.s...@gmail.com> 2010-12-06 01:26:24 PST --- (In reply to comment #7) > You are right, the c=a; case can be allowed, it can just copy the ptr and > length of the static array inside the struct of the dynamic array (this is how > D currently works). Thank you for spotting it. Is it really the way D currently works? Doesn't it dup the static array instead? I thought static ones were on the stack while dynamic ones were on the heap. Denis -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------