/Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectPtr.h
Perform shallow equality check between aTObjectPtrand another (nonTObjectPtr) type that we can coerce to a pointer.
namespace ObjectPtr_Private { template<typename T, typename U, std::enable_if_t< ![TIsTObjectPtr](API\Runtime\CoreUObject\Templates\TIsTObjectPtr)< std::decay_t< U >>::Value, decltype(CoerceToPointer< T >(std::declval< U >())==std::declval< const T * >()) > *> bool ObjectPtr_Private::IsObjectPtrEqual ( const [TObjectPtr](API\Runtime\Core\Delegates\TObjectPtr)< T > & Ptr, U && Other ) }