Navigation
API > API/Plugins > API/Plugins/UAF
This type can be specialized for template style allocators for easy interop with the engine allocator types. Note that we cannot support some allocators that require 'NeedsElementType' such as the inline allocator.
| Name | FAllocatorTypeTrait |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/UAF/ValueRuntime/IndirectAllocator.h |
| Include Path | #include "UAF/ValueRuntime/IndirectAllocator.h" |
Syntax
template<class AllocatorType>
struct FAllocatorTypeTrait
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint8 * Realloc
(
uint8* OldPtr, |
Specialize this struct for your allocator by implementing this function. | UAF/ValueRuntime/IndirectAllocator.h |