TSetAllocator

Encapsulates the allocators used by a set in a single type.

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<typename InSparseArrayAllocator, typename InHashAllocator, uint32 AverageNumberOfElementsPerHashBucket, uint32 BaseNumberOfHashBuckets, uint32 MinNumberOfHashedElements>
class TSetAllocator

Remarks

Encapsulates the allocators used by a set in a single type.

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