UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMWeakCellMapInline.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if WITH_VERSE_VM || defined(__INTELLISENSE__)
6
8
9namespace Verse
10{
11
12template <typename FunctorType>
13void VWeakCellMap::ForEach(FunctorType&& F)
14{
15 FCellUniqueLock Lock(Mutex);
16 for (const TPair<VCell*, VCell*>& Pair : Map)
17 {
18 F(Pair.Key, Pair.Value);
19 }
20}
21
22} // namespace Verse
23#endif // WITH_VERSE_VM
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
FRWLock Lock
Definition UnversionedPropertySerialization.cpp:921
Definition Archive.h:36
Definition Tuple.h:652