LLVM: llvm::RecyclingAllocator< AllocatorType, T, Size, Align (original) (raw)

RecyclingAllocator - This class wraps an Allocator, adding the functionality of recycling deleted objects. More...

#include "[llvm/Support/RecyclingAllocator.h](RecyclingAllocator%5F8h%5Fsource.html)"

Public Member Functions
~RecyclingAllocator ()
template
SubClass * Allocate ()
Allocate - Return a pointer to storage for an object of type SubClass.
T * Allocate ()
template
void Deallocate (SubClass *E)
Deallocate - Release storage for the pointed-to object.
void PrintStats ()

template<class AllocatorType, class T, size_t Size = sizeof(T), size_t Align = alignof(T)>
class llvm::RecyclingAllocator< AllocatorType, T, Size, Align >

RecyclingAllocator - This class wraps an Allocator, adding the functionality of recycling deleted objects.

Definition at line 26 of file RecyclingAllocator.h.

template<class AllocatorType, class T, size_t Size = sizeof(T), size_t Align = alignof(T)>

Allocate() [1/2]

template<class AllocatorType, class T, size_t Size = sizeof(T), size_t Align = alignof(T)>

template

Allocate() [2/2]

template<class AllocatorType, class T, size_t Size = sizeof(T), size_t Align = alignof(T)>

Deallocate()

template<class AllocatorType, class T, size_t Size = sizeof(T), size_t Align = alignof(T)>

template

Deallocate - Release storage for the pointed-to object.

The storage will be kept track of and may be recycled.

Definition at line 51 of file RecyclingAllocator.h.

PrintStats()

template<class AllocatorType, class T, size_t Size = sizeof(T), size_t Align = alignof(T)>


The documentation for this class was generated from the following file: