FMemMark

[FMemMark](API\Runtime\Core\Misc\FMemMark) marks a top-of-stack position in the memory stack.

Windows
MacOS
Linux

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

Name Description

Public function

FMemMark

(
    FMemStackBase& InMem
)

Constructors.

Destructors

Name Description

Public function

~FMemMark()

Destructor.

Functions

Name Description

Public function

void

 

Pop()

Free the memory allocated after the mark was created.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss