Function ScratchBuffer.tryReserve

Ensures at least minCapacity backing slots without relocating live T.

bool tryReserve(
  size_t minCapacity
) nothrow @nogc @safe;

Returns true when the current capacity already satisfies minCapacity.

If growth is required while live elements exist, returns false and leaves the buffer unchanged.

If growth is required while empty, replaces the backing allocation with exactly minCapacity slots. No geometric growth policy is embedded in the container.

Allocation failure follows the runtime-storage fatal OOM contract.