#include <pool.hh>
Public Member Functions | |
Pool (unsigned sz=0) | |
T * | alloc () |
float | memory () const |
Pool for blockwise memory allocation. A chunk of memory is allocated and returned piecewise. If all space is used up, new space is allocated.
|
inline |
concepts::Pool< T >::~Pool | ( | ) |
T * concepts::Pool< T >::alloc | ( | ) |
float concepts::Pool< T >::memory | ( | ) | const |