RecyclingAllocator - This class wraps an Allocator, adding the functionality of recycling deleted objects.
Declared in <llvm/Support/RecyclingAllocator.h>
template<
class AllocatorType,
class T,
size_t Size = sizeof(T),
size_t Align = alignof(T)>
class RecyclingAllocator;
| Name | Description |
|---|---|
~RecyclingAllocator [destructor] | Destroy the allocator and release recycled blocks to the wrapped allocator. |
Allocate | Allocate overloads |
Deallocate | Deallocate - Release storage for the pointed-to object. The storage will be kept track of and may be recycled. |
PrintStats | Print statistics for the wrapped allocator and recycler free list. |