|
Zero
0.1.0
|
A specialisation of the pooled allocator for the void type. More...
#include <stl_pooled_alloc.h>
Classes | |
| struct | rebind |
| A struct to construct an allocator for a different type. More... | |
Public Types | |
| typedef size_t | size_type |
| A type that can represent the size of the largest object in the allocation model. More... | |
| typedef ptrdiff_t | difference_type |
| A type that can represent the difference between any two pointers in the allocation model. More... | |
| typedef void | value_type |
| Identical to void. More... | |
| typedef void * | pointer |
| Pointer to void;. More... | |
| typedef void const * | const_pointer |
| Pointer to const void. More... | |
Public Member Functions | |
| PooledAllocator () | |
| Creates a pooled allocator with no pool. More... | |
| PooledAllocator (Pool *pool) | |
| Creates a pooled allocator to the given pool. More... | |
Public Attributes | |
| Pool * | m_pool |
| The pool for this allocator. More... | |
A specialisation of the pooled allocator for the void type.
| typedef void const* PooledAllocator< void >::const_pointer |
Pointer to const void.
| typedef ptrdiff_t PooledAllocator< void >::difference_type |
A type that can represent the difference between any two pointers in the allocation model.
| typedef void* PooledAllocator< void >::pointer |
Pointer to void;.
| typedef size_t PooledAllocator< void >::size_type |
A type that can represent the size of the largest object in the allocation model.
| typedef void PooledAllocator< void >::value_type |
Identical to void.
|
inline |
Creates a pooled allocator with no pool.
This allocator will allocate off the heap.
|
inline |
Creates a pooled allocator to the given pool.
| Pool* PooledAllocator< void >::m_pool |
The pool for this allocator.
1.8.12