_d_arrayappendcTX

fnTarr _d_arrayappendcTX(Tarr : T[], T)(return ref scope Tarr px, size_t n) ref @trusted

Extend an array px by n elements. Caller must initialize those elements.

Parameters

pxthe array that will be extended, taken as a reference
nhow many new elements to extend it with

Returns

The new value of px

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.