TScopeGuard::TScopeGuard

Given a lambda, constructs an RAII scope guard.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/ScopeExit.h

Include

#include "Misc/ScopeExit.h"

Syntax

TScopeGuard
(
    FuncType && InFunc
)

Remarks

Given a lambda, constructs an RAII scope guard.

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