Navigation
API > API/Runtime > API/Runtime/Core
Static_assert( sizeof(TMemoryImageAllocator<>::ForAnyElementType) == sizeof(FDefaultAllocator::ForAnyElementType) && alignof(TMemoryImageAllocator<>::ForAnyElementType) == alignof(FDefaultAllocator::ForAnyElementType), "TMemoryImageAllocator must be the same layout as FDefaultAllocator for our FScriptArray hacks to work" );
| Name | TAllocatorTraits< TMemoryImageAllocator< Alignment > > |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/MemoryImage.h |
| Include Path | #include "Serialization/MemoryImage.h" |
Syntax
template<uint32 Alignment>
struct TAllocatorTraits< TMemoryImageAllocator< Alignment > > : public TAllocatorTraitsBase< TMemoryImageAllocator< Alignment > >
Inheritance Hierarchy
- TAllocatorTraitsBase → TAllocatorTraits< TMemoryImageAllocator< Alignment > >