TInlineSetAllocator

An inline set allocator that allows sizing of the inline allocations for a set number of elements.

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

template<uint32 NumInlineElements, typename SecondaryAllocator, uint32 AverageNumberOfElementsPerHashBucket, uint32 MinNumberOfHashedElements>
class TInlineSetAllocator

Remarks

An inline set allocator that allows sizing of the inline allocations for a set number of elements.

Functions

Name Description

Public function Static

uint32

 

GetNumberOfHashBuckets

(
    uint32 NumHashedElements
)

Computes the number of hash buckets to use for a given number of elements.

Typedefs

Constants

Name

Description

NumInlineHashBuckets