Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc > TMemStackAllocator
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/MemStack.h |
Include | #include "Misc/MemStack.h" |
Syntax
template<typename ElementType>
class ForElementType
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
SizeType | CalculateSlackGrow
(
SizeType NumElements, |
|
![]() ![]() |
SizeType | CalculateSlackReserve
(
SizeType NumElements, |
|
![]() ![]() |
SizeType | CalculateSlackShrink
(
SizeType NumElements, |
|
![]() ![]() |
SIZE_T | GetAllocatedSize
(
SizeType NumAllocatedElements, |
|
![]() ![]() |
ElementType * | ||
![]() ![]() |
SizeType | ||
![]() ![]() |
bool | ||
![]() |
void | MoveToEmpty
(
ForElementType& Other |
Moves the state of another allocator into this one. |
![]() |
void | ResizeAllocation
(
SizeType PreviousNumElements, |