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

#include <IoAllocators.h>

Public Member Functions

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

Constructor & Destructor Documentation

◆ TSingleThreadedSlabAllocator()

◆ ~TSingleThreadedSlabAllocator()

template<typename T , uint16 SlabSize = 4096>
TSingleThreadedSlabAllocator< T, SlabSize >::~TSingleThreadedSlabAllocator ( )
inline

Member Function Documentation

◆ Alloc()

template<typename T , uint16 SlabSize = 4096>
T * TSingleThreadedSlabAllocator< T, SlabSize >::Alloc ( )
inline

◆ Construct()

template<typename T , uint16 SlabSize = 4096>
template<typename... ArgsType>
T * TSingleThreadedSlabAllocator< T, SlabSize >::Construct ( ArgsType &&...  Args)
inline

◆ Destroy()

template<typename T , uint16 SlabSize = 4096>
void TSingleThreadedSlabAllocator< T, SlabSize >::Destroy ( T *  Ptr)
inline

◆ Free()

template<typename T , uint16 SlabSize = 4096>
void TSingleThreadedSlabAllocator< T, SlabSize >::Free ( T *  Ptr)
inline

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