TInlineAllocator::ForElementType::MoveToEmpty

Moves the state of another allocator into this one.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/ContainerAllocationPolicies.h

Include

#include "Containers/ContainerAllocationPolicies.h"

Syntax

void MoveToEmpty
(
    ForElementType & Other
)

Remarks

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).

Parameters

Parameter

Description

Other

The allocator to move the state from. This allocator should be left in a valid empty state.