Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FMemoryImageAllocatorBase
Description
Moves the state of another allocator into this one. Assumes that the allocator is currently empty, i.e. memory may be allocated but any existing elements have already been destructed (if necessary).
| Name | MoveToEmpty |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/MemoryImage.h |
| Include Path | #include "Serialization/MemoryImage.h" |
| Source | /Engine/Source/Runtime/Core/Private/Containers/MemoryImageAllocator.cpp |
void MoveToEmpty
(
FMemoryImageAllocatorBase & Other
)
Parameters
| Name | Remarks |
|---|---|
| Other | The allocator to move the state from. This allocator should be left in a valid empty state. |