alignedRealloc

Allocate array using strict memory alignment.

Uses std.experimental.allocator.mallocator.AlignmedMallocator to reallocate memory. Forwards to AlignedMallocator.reallocate.

@nogc
bool
alignedRealloc
(
ref void[] ptr
,
size_t newSize
)

Parameters

ptr
Type: void[]

Pointer to a memory where the reallocation is to be performed at.

newSize
Type: size_t

Size of the reallocated array.

Return Value

Type: bool

Status of reallocation. Returns AlignedMallocator.reallocate out status.

Meta