4#if WITH_VERSE_VM || defined(__INTELLISENSE__)
12inline size_t VScope::NumBytes(
uint32 NumCaptures)
14 static_assert(std::is_array_v<
decltype(
Captures)>);
30 Scope.Captures[0].Set(
Context, *SuperClass);
41 return *
new (
Context.AllocateFastCell(NumBytes(NumCaptures)))
VScope{
Context,
nullptr, NumCaptures};
44inline VScope& VScope::GetRootScope()
48 auto J = I->ParentScope.Get();
60 , NumCaptures{NumCaptures}
64 static_assert(std::is_array_v<
decltype(
Captures)>);
65 new (I) std::remove_extent_t<
decltype(
Captures)>{};
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
FORCEINLINE T * Get(const FObjectPtr &ObjectPtr)
Definition ObjectPtr.h:426