|
|
typedef AllocatedType | Type |
| |
|
|
| BatchAllocator (unsigned int objectsPerPage=255) |
| |
| AllocatedType * | allocate () |
| |
| void | release (AllocatedType *object) |
| |
◆ allocate()
template<typename AllocatedType , const unsigned int objectPerAllocation>
allocate space for an array of objectPerAllocation object.
- Warning
- it is the responsability of the caller to call objects constructors.
◆ release()
template<typename AllocatedType , const unsigned int objectPerAllocation>
Release the object.
- Warning
- it is the responsability of the caller to actually destruct the object.
The documentation for this class was generated from the following file: