core.internal.array.arrayassign
Functions 4
private fn
void enforceRawArraysConformable(const char[] action, const size_t elementSize,
const void[] a1, const void[] a2, const bool allowOverlap) @trusted @nogc pure nothrowfn
Tarr _d_arrayassign_l(Tarr : T[], T)(return scope Tarr to, scope Tarr from) @trustedDoes array assignment (not construction) from another array of the same element type. Handles overlapping copies. Assumes the right hand side is an lvalue,fn
Tarr _d_arrayassign_r(Tarr : T[], T)(return scope Tarr to, scope Tarr from) @trustedDoes array assignment (not construction) from another array of the same element type. Does not support overlapping copies. Assumes the right hand side is an rvalue,fn
Tarr _d_arraysetassign(Tarr : T[], T)(return scope Tarr to, scope ref T value) @trustedSets all elements of an array to a single value. Takes into account postblits, copy constructors and destructors. For Plain Old Data elements,`rt/memset.d` is used.Templates 3
tmplCopyElem(string CopyAction)
tmplCopyArray(bool CanOverlap, string CopyAction)
tmplArrayAssign(string CopyLogic, string AllowOverLap)