UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TBlockAllocator< T, BlockSize > Class Template Reference

Public Member Functions

 ~TBlockAllocator ()
 
FORCEINLINE T * Alloc ()
 
FORCEINLINE void Free (T *Ptr)
 
template<typename... ArgsType>
T * Construct (ArgsType &&... Args)
 
void Destroy (T *Ptr)
 
void Trim ()
 

Constructor & Destructor Documentation

◆ ~TBlockAllocator()

template<typename T , uint32 BlockSize = 128>
TBlockAllocator< T, BlockSize >::~TBlockAllocator ( )
inline

Member Function Documentation

◆ Alloc()

template<typename T , uint32 BlockSize = 128>
FORCEINLINE T * TBlockAllocator< T, BlockSize >::Alloc ( )
inline

◆ Construct()

template<typename T , uint32 BlockSize = 128>
template<typename... ArgsType>
T * TBlockAllocator< T, BlockSize >::Construct ( ArgsType &&...  Args)
inline

◆ Destroy()

template<typename T , uint32 BlockSize = 128>
void TBlockAllocator< T, BlockSize >::Destroy ( T *  Ptr)
inline

◆ Free()

template<typename T , uint32 BlockSize = 128>
FORCEINLINE void TBlockAllocator< T, BlockSize >::Free ( T *  Ptr)
inline

◆ Trim()

template<typename T , uint32 BlockSize = 128>
void TBlockAllocator< T, BlockSize >::Trim ( )
inline

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