Honeycomb
0.1
Component-Model Framework
|
Global allocator for small memory blocks. To provide a custom pool define SmallAllocator_createSingleton_
and implement SmallAllocator_createSingleton().
More...
#include <SmallAllocator.h>
Public Member Functions | |
SmallAllocator ()=default | |
template<class U > | |
SmallAllocator (const SmallAllocator< U > &) | |
Public Member Functions inherited from honey::MemPoolAllocator< SmallAllocator, T > | |
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< SmallAllocator, T > | |
pointer | address (reference x) const |
const_pointer | address (const_reference x) const |
size_type | max_size () const |
void | construct (U *p, Args &&...args) |
void | destroy (U *p) |
bool | operator== (const SmallAllocator< T > &) const |
bool | operator!= (const SmallAllocator< T > &) const |
Static Public Member Functions | |
static MemPool & | pool () |
Additional Inherited Members | |
Public Types inherited from honey::MemPoolAllocator< SmallAllocator, T > | |
typedef T * | pointer |
typedef szt | size_type |
Public Types inherited from honey::Allocator< SmallAllocator, 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 |
Protected Member Functions inherited from honey::Allocator< SmallAllocator, T > | |
SmallAllocator< T > & | subc () |
const SmallAllocator< T > & | subc () const |
Global allocator for small memory blocks. To provide a custom pool define SmallAllocator_createSingleton_
and implement SmallAllocator_createSingleton().
|
default |
|
inline |
|
inlinestatic |