postblit constructor not called on slice copy

Benjamin Thaut code at benjamin-thaut.de
Fri Feb 10 10:59:19 PST 2012


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


More information about the Digitalmars-d mailing list