// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #if (defined(__AUTORTFM) && __AUTORTFM) #include "LongJump.h" namespace AutoRTFM { class FContext; class FCallNest final { public: FCallNest(FContext* Context) : Context(Context) {} FCallNest* Parent{ nullptr }; FContext* Context; FLongJump AbortJump; // Whether this succeeded or not is reflected in Context::GetStatus(). template void Try(const TTryFunctor& TryFunctor); }; } // namespace AutoRTFM #endif // (defined(__AUTORTFM) && __AUTORTFM)