License
Distributed under the
Boost Software License 1.0.
(See accompanying file LICENSE) Source: core/internal/_array/_utils.d
This module contains utility functions to help the implementation of the runtime hook
(See accompanying file LICENSE) Source: core/internal/_array/_utils.d
ulong accumulatePure(string file, int line, string funcname, string name, ulong size) nothrow purevoid[] __arrayAlloc(T)(size_t arrSize) @trustedAllocate a memory block with appendable capabilities for array usage.size_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.uint __typeAttrs(T)(void * copyAttrsFrom = null)Check if the type T's postblit is called in nothrow, if it exist
T | Type to check |
nothrow scope, if it exist.
if it does not exist, return true.