Navigation
Unreal Engine C++ API Reference > Runtime > Core > UObject > TWeakObjectPtr > operator==
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/UObject/WeakObjectPtrTemplates.h |
Include | #include "UObject/WeakObjectPtrTemplates.h" |
template<typename RhsT, typename>
bool operator==
(
const TWeakObjectPtr < RhsT, TWeakObjectPtrBase > & Rhs
) const
Remarks
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.
Parameters
Name | Description |
---|---|
Other | weak pointer to compare to |