AutoCtorPool.fill

Ensures that the pool contains at least the specified number of items. Useful to pre-allocate a pool of a certain size.

class AutoCtorPool(T, Args...)
typeof(this)
fill
(
size_t num
)

Parameters

num size_t

minimum number of items desired in pool

Return Value

Type: typeof(this)

this

Throws

LimitExceededException if the requested number of items exceeds the previously specified limit.

Meta