Navigation
API > API/Runtime > API/Runtime/Core
Encapsulates the allocators used by a set in a single type.
| Name | TSparseSetAllocator |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ContainerAllocationPolicies.h |
| Include Path | #include "Containers/ContainerAllocationPolicies.h" |
Syntax
template<typename InSparseArrayAllocator, typename InHashAllocator, uint32 AverageNumberOfElementsPerHashBucket, uint32 BaseNumberOfHashBuckets, uint32 MinNumberOfHashedElements>
class TSparseSetAllocator
Derived Classes
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| HashAllocator | InHashAllocator | Containers/ContainerAllocationPolicies.h | |
| SparseArrayAllocator | InSparseArrayAllocator | Containers/ContainerAllocationPolicies.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint32 GetNumberOfHashBuckets
(
uint32 NumHashedElements |
Computes the number of hash buckets to use for a given number of elements. | Containers/ContainerAllocationPolicies.h |