Function ScratchBuffer.tryPushBack

Appends one live element when spare established capacity exists.

bool tryPushBack(U)(
  auto ref U value
)
if (is(Unqual!U == T) && __traits(compiles, emplace(cast(T*)null, forward!value)));

Returns false when full. A failed insertion performs no allocation and leaves the live prefix unchanged.