A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
|
#include <STLSlabAllocator.h>
Classes | |
struct | rebind |
Public Types | |
typedef size_t | size_type |
typedef T * | pointer |
typedef T | value_type |
typedef ptrdiff_t | difference_type |
typedef const T * | const_pointer |
typedef T & | reference |
typedef const T & | const_reference |
Public Member Functions | |
STLSlabAllocator (size_t size) | |
STLSlabAllocator (void *memPool, size_t size) | |
template<class U > | |
STLSlabAllocator (const STLSlabAllocator< U > &other) | |
pointer | allocate (size_type n, const void *=0) |
void | deallocate (pointer p, size_type n) |
void | construct (pointer p, const T &val) |
void | destroy (pointer p) |
SlabAllocatorPtr | getAllocator () const |
Private Attributes | |
SlabAllocatorPtr | allocator |
Definition at line 15 of file STLSlabAllocator.h.
typedef const T* STLSlabAllocator< T >::const_pointer |
Definition at line 21 of file STLSlabAllocator.h.
typedef const T& STLSlabAllocator< T >::const_reference |
Definition at line 23 of file STLSlabAllocator.h.
typedef ptrdiff_t STLSlabAllocator< T >::difference_type |
Definition at line 20 of file STLSlabAllocator.h.
typedef T* STLSlabAllocator< T >::pointer |
Definition at line 18 of file STLSlabAllocator.h.
typedef T& STLSlabAllocator< T >::reference |
Definition at line 22 of file STLSlabAllocator.h.
typedef size_t STLSlabAllocator< T >::size_type |
Definition at line 17 of file STLSlabAllocator.h.
typedef T STLSlabAllocator< T >::value_type |
Definition at line 19 of file STLSlabAllocator.h.
|
inline |
Definition at line 25 of file STLSlabAllocator.h.
|
inline |
Definition at line 28 of file STLSlabAllocator.h.
|
inline |
|
inline |
Definition at line 40 of file STLSlabAllocator.h.
|
inline |
Definition at line 56 of file STLSlabAllocator.h.
|
inline |
Definition at line 52 of file STLSlabAllocator.h.
|
inline |
Definition at line 59 of file STLSlabAllocator.h.
|
inline |
|
private |
Definition at line 67 of file STLSlabAllocator.h.