IAggregatePool.fill

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

  1. typeof(this) fill(size_t num, ItemType new_item)
  2. typeof(this) fill(size_t num)
    class IAggregatePool(T)
    static if(is(typeof(new T)))
    typeof(this)
    fill
    (
    size_t num
    )

Parameters

num size_t

minimum number of items desired in pool

Return Value

Type: typeof(this)

this

Meta