TFixedAllocator

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

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/ContainerAllocationPolicies.h"

Syntax

template<uint32 NumInlineElements>
class TFixedAllocator

Remarks

The fixed allocation policy allocates up to a specified number of elements in the same allocation as the container. It's like the inline allocator, except it doesn't provide secondary storage when the inline storage has been filled.

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