core.internal.array.utils

This module contains utility functions to help the implementation of the runtime hook

Types 1

Functions 5

fnauto gcStatsPure() nothrow pure
fnulong accumulatePure(string file, int line, string funcname, string name, ulong size) nothrow pure
fnvoid[] __arrayAlloc(T)(size_t arrSize) @trustedAllocate a memory block with appendable capabilities for array usage.
fnsize_t newCapacity(size_t newlength, size_t elemsize) pure nothrowGiven an array of length `size` that needs to be expanded to `newlength`, compute a new capacity.
fnuint __typeAttrs(T)(void * copyAttrsFrom = null)

Templates 1

tmplisPostblitNoThrow(T)

Check if the type T's postblit is called in nothrow, if it exist

Parameters

TType to check

Returns

if the postblit is callable in a nothrow scope, if it exist.

if it does not exist, return true.