AlignedMallocator.reallocate

bool reallocate(ref void[] b, size_t newSize) @system @nogc nothrow pure shared

Forwards to alignedReallocate(b, newSize, platformAlignment). Should be used with blocks obtained with allocate otherwise the custom alignment passed with alignedAllocate can be lost.