digitalmars.D - postblit constructor not called on slice copy
- Benjamin Thaut (6/6) Feb 10 2012 I'm copying a slice of an array into the a slice of another array. dmd
- Timon Gehr (2/8) Feb 10 2012 Bug. http://d.puremagic.com/issues/show_bug.cgi?id=6182
I'm copying a slice of an array into the a slice of another array. dmd herefor emmits a call to _d_arraycopy which is defined inside arraycat.d So I'm wondering why is the postblit constructor or assignment operator not called for every element that gets copied? Kind Regards Benjamin Thaut
Feb 10 2012
On 02/10/2012 07:59 PM, Benjamin Thaut wrote:I'm copying a slice of an array into the a slice of another array. dmd herefor emmits a call to _d_arraycopy which is defined inside arraycat.d So I'm wondering why is the postblit constructor or assignment operator not called for every element that gets copied? Kind Regards Benjamin ThautBug. http://d.puremagic.com/issues/show_bug.cgi?id=6182
Feb 10 2012