Module |
|
Header |
/Engine/Source/Runtime/Core/Public/UObject/WeakObjectPtrTemplates.h |
Include |
#include "UObject/WeakObjectPtrTemplates.h" |
template<typename LhsT, typename RhsT, typename OtherTWeakObjectPtrBase, typename>
bool operator==
(
const TWeakObjectPtr< LhsT, OtherTWeakObjectPtrBase > & Lhs,
const TWeakObjectPtr< RhsT, OtherTWeakObjectPtrBase > & Rhs
)
Compare weak pointers for equality. If both pointers would return nullptr from Get() they count as equal even if they were not initialized to the same object.
Parameter |
Description |
---|---|
Other |
weak pointer to compare to |