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