ROSE 0.11.145.147
|
Small object support.
Small objects that inherit from this class will use a pool allocator instead of the global allocator.
Definition at line 19 of file SmallObject.h.
#include <Sawyer/SmallObject.h>
Static Public Member Functions | |
static SynchronizedPoolAllocator & | poolAllocator () |
Return the pool allocator for this class. | |
static void * | operator new (size_t size) |
static void | operator delete (void *ptr, size_t size) |
|
inlinestatic |
Return the pool allocator for this class.
Definition at line 25 of file SmallObject.h.
|
inlinestatic |
Definition at line 27 of file SmallObject.h.
|
inlinestatic |
Definition at line 28 of file SmallObject.h.