TInlineSetAllocator

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

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

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