TInlineAllocator

The inline allocation policy allocates up to a specified number of elements in the same allocation as the container.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

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

Include

#include "Containers/ContainerAllocationPolicies.h"

Syntax

template<uint32 NumInlineElements, typename SecondaryAllocator>
class TInlineAllocator

Remarks

The inline allocation policy allocates up to a specified number of elements in the same allocation as the container. Any allocation needed beyond that causes all data to be moved into an indirect allocation. It always uses DEFAULT_ALIGNMENT.

Classes

Name

Description

Public class

ForElementType

Typedefs

Name

Description

ForAnyElementType

SizeType

Constants

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss