clear method

void clear()

Clears all objects from the pool.

Implementation

void clear() {
  _pool.clear();
}