[Issue 6182] _d_arraycopy should take TypeInfo as final argument instead of simply element size
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jun 13 06:55:07 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6182
Benjamin Thaut <code at benjamin-thaut.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |code at benjamin-thaut.de
--- Comment #4 from Benjamin Thaut <code at benjamin-thaut.de> 2013-06-13 06:55:06 PDT ---
(In reply to comment #2)
>
> Is this already fixed?
I just debugged it with dmd 2.063 where it is already fixed. It seems that the
compiler now generates a call to _d_arrayassign as soon as the array is made of
structs that have a postblit constructor or destructor. I didn't know
_d_arrayassign did exist, so this bug is both fixed and invalid. _d_arraycopy
was never intended to be used for complex types. _d_arrayassign exists for this
purpose as far as I understand it.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list