5#if WITH_VERSE_VM || defined(__INTELLISENSE__)
69 template <
typename HookType>
79template <
typename TFunctorTypeDecayed>
89 AutoRTFM::EContextStatus Status = AutoRTFM::Close([&] {
92 V_DIE_UNLESS(Status == AutoRTFM::EContextStatus::OnTrack); },
104template <
typename TFunctorTypeDecayed>
124template <
typename HookType>
125VTaskNativeHook& VTaskNativeHook::NewInternal(FAllocationContext
Context,
typename HookType::FunctorTypeDecayed&& Func)
127 std::byte* Allocation = std::is_trivially_destructible_v<typename HookType::FunctorTypeDecayed>
135 typename FunctorType,
145 typename FunctorType,
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
#define AUTORTFM_INFER
Definition AutoRTFMDefines.h:121
AUTORTFM_INFER UE_FORCEINLINE_HINT constexpr auto Invoke(FuncType &&Func, ArgTypes &&... Args) -> decltype(((FuncType &&) Func)((ArgTypes &&) Args...))
Definition Invoke.h:44
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
T * New(FMemStackBase &Mem, int32 Count=1, int32 Align=DEFAULT_ALIGNMENT)
Definition MemStack.h:259
#define UE_REQUIRES(...)
Definition Requires.h:86
FORCEINLINE T * Get(const FObjectPtr &ObjectPtr)
Definition ObjectPtr.h:426
Definition FunctionFwd.h:32