ReusableBlock.removeFrontN

Remove elements from the head of the block. If n == length, freeCapacity will be equal to capacity after this call. Whether the destructors are called on the removed elements is determined by the dtors template parameter.

struct ReusableBlock(T, Flag!"dtors" dtors = Yes.dtors)
scope
void
removeFrontN
(
in size_t n
)

Parameters

n size_t

number of elements to remove

Meta