Navigation
API > API/Runtime > API/Runtime/Core
An inline set allocator that allows sizing of the inline allocations for a set number of elements.
| Name | TInlineSetAllocator |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ContainerAllocationPolicies.h |
| Include Path | #include "Containers/ContainerAllocationPolicies.h" |
Syntax
template<uint32 NumInlineElements, typename SecondaryAllocator, uint32 AverageNumberOfElementsPerHashBucket, uint32 MinNumberOfHashedElements>
class TInlineSetAllocator
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| HashAllocator | TInlineAllocator< NumInlineHashBuckets, typename SecondaryAllocator::HashAllocator > | Containers/ContainerAllocationPolicies.h | |
| SparseArrayAllocator | TInlineSparseArrayAllocator< NumInlineElements, typename SecondaryAllocator::SparseArrayAllocator > | 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 |