Template Struct tlsf_heap_allocator

Nested Relationships

Nested Types

Struct Documentation

template<typename T, size_t DefaultPoolSize = 1024 * 1024>
struct tlsf_heap_allocator

Public Types

using value_type = T

Public Functions

inline explicit tlsf_heap_allocator(size_t size)
inline tlsf_heap_allocator()
template<typename U>
inline tlsf_heap_allocator(const tlsf_heap_allocator<U> &alloc)
template<typename U, size_t OtherDefaultSize>
inline tlsf_heap_allocator(const tlsf_heap_allocator<U> &alloc)
inline size_t initialize(size_t size)
inline ~tlsf_heap_allocator()
inline T *allocate(size_t size)
inline void deallocate(T *ptr, size_t)

Public Members

char *memory_pool
size_t pool_size
template<typename U>
struct rebind

Public Types

typedef tlsf_heap_allocator<U> other