px_d_arrayappendcTX
fn
Tarr _d_arrayappendcTX(Tarr : T[], T)(return ref scope Tarr px, size_t n) ref @trustedExtend an array px by n elements. Caller must initialize those elements.
Parameters
px | the array that will be extended, taken as a reference |
n | how many new elements to extend it with |
Returns
The new value of
Bugs
This function template was ported from a much older runtime hook that bypassed safety,
purity, and throwabilty checks. To prevent breaking existing code, this function template is temporarily declared @trusted until the implementation can be brought up to modern D expectations.