This class manages memory for a pool of objects. More...
#include "Pool.hpp"
Public Member Functions | |
| PoolNoFreeT (unsigned long SizeOfFirstBlock=8) | |
| T * | Alloc (unsigned long Size=1) |
| Returns a pointer to Size allocated objects of type T. More... | |
| void | Free (T *) |
| unsigned long | GetSize () const |
This class manages memory for a pool of objects.
Works best for POD- and simple class types, because:
|
inline |
Returns a pointer to Size allocated objects of type T.