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

#include <ContainerAllocationPolicies.h>

Classes

class  ForElementType
 

Public Types

enum  { NeedsElementType = true }
 
enum  { RequireRangeCheck = true }
 
typedef void ForAnyElementType
 

Detailed Description

template<uint32 NumInlineElements, typename SecondaryAllocator = FDefaultAllocator>
class TInlineAllocator< NumInlineElements, 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 439 of file ContainerAllocationPolicies.h.

Member Typedef Documentation

◆ ForAnyElementType

template<uint32 NumInlineElements, typename SecondaryAllocator = FDefaultAllocator>
typedef void TInlineAllocator< NumInlineElements, SecondaryAllocator >::ForAnyElementType

Definition at line 563 of file ContainerAllocationPolicies.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 443 of file ContainerAllocationPolicies.h.

◆ anonymous enum

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

Definition at line 444 of file ContainerAllocationPolicies.h.


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