|
Honeycomb
0.1
Component-Model Framework
|
#include <Pool.h>


Public Types | |
| typedef T * | pointer |
| typedef szt | size_type |
Public Types inherited from honey::Allocator< Subclass, T > | |
| typedef T | value_type |
| typedef T * | pointer |
| typedef T & | reference |
| typedef const T * | const_pointer |
| typedef const T & | const_reference |
| typedef szt | size_type |
| typedef sdt | difference_type |
Public Member Functions | |
| pointer | allocate (size_type n, const void *=0) |
| pointer | allocate (size_type n, const char *srcFile, int srcLine, const void *=0) |
| void | deallocate (pointer p, size_type) |
Public Member Functions inherited from honey::Allocator< Subclass, T > | |
| pointer | address (reference x) const |
| const_pointer | address (const_reference x) const |
| size_type | max_size () const |
| template<class U , class... Args> | |
| void | construct (U *p, Args &&...args) |
| template<class U > | |
| void | destroy (U *p) |
| bool | operator== (const Subclass< T > &) const |
| bool | operator!= (const Subclass< T > &) const |
Additional Inherited Members | |
Protected Member Functions inherited from honey::Allocator< Subclass, T > | |
| Subclass< T > & | subc () |
| const Subclass< T > & | subc () const |
MemPool allocator.
Subclass must define:
| typedef T* honey::Allocator< Subclass, T >::pointer |
| typedef szt honey::Allocator< Subclass, T >::size_type |
|
inline |
|
inline |
|
inline |
1.8.10