UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CallNest.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if (defined(__AUTORTFM) && __AUTORTFM)
6
7#include "LongJump.h"
8
9namespace AutoRTFM
10{
11
12class FContext;
13
14class FCallNest final
15{
16public:
17 FCallNest(FContext* Context)
19 {}
20
21 FCallNest* Parent{ nullptr };
22 FContext* Context;
24
25 // Whether this succeeded or not is reflected in Context::GetStatus().
26 template<typename TTryFunctor>
27 void Try(const TTryFunctor& TryFunctor);
28};
29
30} // namespace AutoRTFM
31
32#endif // (defined(__AUTORTFM) && __AUTORTFM)
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition API.cpp:57