A BumpPtrAllocator that allows only elements of a specific type to be allocated.
Synopsis
Declared in <llvm/Support/Allocator.h>
template<typename T>
class SpecificBumpPtrAllocator;
Description
This allows calling the destructor in DestroyAll() and when the allocator is destroyed.
Member Functions
Name |
Description |
|
Constructors |
|
Destroy all allocated objects and release owned memory. |
Move‐assign, taking ownership of |
|
Allocate space for an array of objects without constructing them. |
|
Destroy every allocated object and reset the underlying bump allocator. |
|
Return an index uniquely identifying |
Created with MrDocs