TInlineAllocator

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

Choose your operating system:

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