lifetime.array_

Undocumented in source.

Members

Functions

_adEq2
int _adEq2(void[] a1, void[] a2, TypeInfo ti)

Determine equivalence of two arrays

_d_array_slice_copy
void _d_array_slice_copy(void* dst, size_t dstlen, void* src, size_t srclen, size_t elemsz)

Copy items from one slice into another

_d_arrayappendcTX
byte[] _d_arrayappendcTX(TypeInfo ti, byte[] px, size_t n)

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

_d_arraycatT
byte[] _d_arraycatT(TypeInfo ti, byte[] x, byte[] y)

Concatenate two arrays

_d_arraycopy
void[] _d_arraycopy(size_t size, void[] from, void[] to)

Copy an array byte-by-byte from from to to.

_d_arraysetlengthT
void[] _d_arraysetlengthT(TypeInfo ti, size_t newlength, void[]* p)

Resize dynamic arrays with 0 initializers.

_d_arraysetlengthiT
void[] _d_arraysetlengthiT(TypeInfo ti, size_t newlength, void[]* p)

Resize arrays for non-zero initializers. p pointer to array lvalue to be updated newlength new .length property of array sizeelem size of each element of array initsize size of initializer ... initializer

_d_delarray_t
void _d_delarray_t(void[]* p, TypeInfo_Struct ti)

Finalize (if possible) and deallocate target array p

_d_newarrayT
void[] _d_newarrayT(TypeInfo ti, size_t length)

Allocate a new array of length elements. ti is the type of the resulting array, or pointer to element. (For when the array is initialized to 0)

_d_newarrayU
void[] _d_newarrayU(TypeInfo ti, size_t length)

Allocate a new uninitialized array of length elements. ti is the type of the resulting array, or pointer to element.

_d_newarrayiT
void[] _d_newarrayiT(TypeInfo ti, size_t length)

For when the array has a non-zero initializer.

finalize_array
void finalize_array(void* p, size_t size, TypeInfo_Struct si)

Finalize the elements in array p

Templates

_d_arraysetlengthTImpl
template _d_arraysetlengthTImpl(Tarr : T[], T)
Undocumented in source.

Meta