Navigation
Unreal Engine C++ API Reference > Runtime > Core > Serialization
Inheritance Hierarchy
- TAllocatorTraitsBase
- TAllocatorTraits< TMemoryImageAllocator< Alignment > >
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Serialization/MemoryImage.h |
Include | #include "Serialization/MemoryImage.h" |
Syntax
template<uint32 Alignment>
struct TAllocatorTraits< TMemoryImageAllocator< Alignment > > : public TAllocatorTraitsBase< TMemoryImageAllocator< Alignment > >
Remarks
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" );
Constants
Name | Description |
---|---|
IsZeroConstruct | |
SupportsElementAlignment | |
SupportsFreezeMemoryImage |