UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FContainerAllocatorInterface Class Reference

#include <ContainerAllocationPolicies.h>

Classes

class  ForElementType
 

Public Types

enum  { NeedsElementType = true }
 
enum  { RequireRangeCheck = true }
 
using SizeType = int32
 
typedef ForElementType< FScriptContainerElementForAnyElementType
 

Detailed Description

This is the allocation policy interface; it exists purely to document the policy's interface, and should not be used.

Member Typedef Documentation

◆ ForAnyElementType

A class that may be used when NeedsElementType=false is specified. If NeedsElementType=true, then this must be present but will not be used, and so can simply be a typedef to void

◆ SizeType

The integral type to be used for element counts and indices used by the allocator and container - must be signed

Member Enumeration Documentation

◆ anonymous enum

Determines whether the user of the allocator may use the ForAnyElementType inner class.

Enumerator
NeedsElementType 

◆ anonymous enum

Determines whether the user of the allocator should do range checks

Enumerator
RequireRangeCheck 

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