UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TSizedNonshrinkingAllocator< IndexSize > Class Template Reference

#include <ContainerAllocationPolicies.h>

+ Inheritance diagram for TSizedNonshrinkingAllocator< IndexSize >:

Public Types

enum  { ShrinkByDefault = false }
 
typedef TSizedHeapAllocator< IndexSize > Typedef
 
- Public Types inherited from TSizedHeapAllocator< IndexSize, BaseMallocType >
enum  { NeedsElementType = false }
 
enum  { RequireRangeCheck = true }
 
using SizeType = typename TBitsToSizeType< IndexSize >::Type
 
using BaseMalloc = BaseMallocType
 

Detailed Description

template<int IndexSize>
class TSizedNonshrinkingAllocator< IndexSize >

TSizedNonshrinkingAllocator behaves like TSizedDefaultAllocator, but prevents arrays from automatically shrinking unless EAllowShrinking::Yes is used.

Member Typedef Documentation

◆ Typedef

template<int IndexSize>
typedef TSizedHeapAllocator<IndexSize> TSizedNonshrinkingAllocator< IndexSize >::Typedef

Member Enumeration Documentation

◆ anonymous enum

template<int IndexSize>
anonymous enum
Enumerator
ShrinkByDefault 

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