Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/MemStack.h |
| Include | #include "Misc/MemStack.h" |
Syntax
class FMemMark
Remarks
FMemMark marks a top-of-stack position in the memory stack. When the marker is constructed or initialized with a particular memory stack, it saves the stack's current position. When marker is popped, it pops all items that were added to the stack subsequent to initialization.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMemMark
(
FMemStackBase& InMem |
Constructors. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FMemMark () |
Destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Pop () |
Free the memory allocated after the mark was created. |