/Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h
TWeakPtris a non-intrusive reference-counted weak object pointer. This weak pointer will be conditionally thread-safe when the optional Mode template argument is set to ThreadSafe.
template<class ObjectType, ESPMode InMode> class TWeakPtr