Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TSizedInlineAllocator< NumInlineElements, IndexSize, SecondaryAllocator > Class Template Reference

#include <ContainerAllocationPolicies.h>

+ Inheritance diagram for TSizedInlineAllocator< NumInlineElements, IndexSize, SecondaryAllocator >:

Classes

class  ForElementType
 

Public Types

enum  { NeedsElementType = true }
 
enum  { RequireRangeCheck = true }
 
using SizeType = typename TBitsToSizeType<IndexSize>::Type
 
typedef void ForAnyElementType
 

Detailed Description

template<uint32 NumInlineElements, int IndexSize, typename SecondaryAllocator = FDefaultAllocator>
class TSizedInlineAllocator< NumInlineElements, IndexSize, SecondaryAllocator >

The inline allocation policy allocates up to a specified number of elements in the same allocation as the container. Any allocation needed beyond that causes all data to be moved into an indirect allocation. It always uses DEFAULT_ALIGNMENT.

Definition at line 640 of file ContainerAllocationPolicies.h.

Member Typedef Documentation

◆ ForAnyElementType

template<uint32 NumInlineElements, int IndexSize, typename SecondaryAllocator = FDefaultAllocator>
typedef void TSizedInlineAllocator< NumInlineElements, IndexSize, SecondaryAllocator >::ForAnyElementType

Definition at line 779 of file ContainerAllocationPolicies.h.

◆ SizeType

template<uint32 NumInlineElements, int IndexSize, typename SecondaryAllocator = FDefaultAllocator>
using TSizedInlineAllocator< NumInlineElements, IndexSize, SecondaryAllocator >::SizeType = typename TBitsToSizeType<IndexSize>::Type

Definition at line 643 of file ContainerAllocationPolicies.h.

Member Enumeration Documentation

◆ anonymous enum

template<uint32 NumInlineElements, int IndexSize, typename SecondaryAllocator = FDefaultAllocator>
anonymous enum
Enumerator
NeedsElementType 

Definition at line 647 of file ContainerAllocationPolicies.h.

◆ anonymous enum

template<uint32 NumInlineElements, int IndexSize, typename SecondaryAllocator = FDefaultAllocator>
anonymous enum
Enumerator
RequireRangeCheck 

Definition at line 648 of file ContainerAllocationPolicies.h.


The documentation for this class was generated from the following file: