Mallocator.reallocateInPlace

Reallocating in place isn't supported.

class Mallocator
@nogc nothrow pure shared @system
bool
reallocateInPlace
(
ref void[] p
,
size_t size
)

Parameters

p void[]

A pointer to the memory block.

size size_t

Size of the reallocated block.

Return Value

Type: bool

$(D_KEYWORD false).

Examples

void[] p;
assert(!Mallocator.instance.reallocateInPlace(p, 8));

Meta