ObjectPtr_Private::CoerceToPointer

Coerce to pointer through implicit conversion to const T* (overload through less specific "const T*" parameter to avoid ambiguity with other coercion options that may also exist.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectPtr.h

Include

#include "UObject/ObjectPtr.h"

Syntax

namespace ObjectPtr_Private
{
    template<typename T>
    const T * ObjectPtr_Private::CoerceToPointer
    (
        const T * Other
    )
}

Remarks

Coerce to pointer through implicit conversion to const T* (overload through less specific "const T*" parameter to avoid ambiguity with other coercion options that may also exist.