Navigation
API > API/Runtime > API/Runtime/CoreUObject
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const T * ObjectPtr_Private::CoerceToPointer
(
const T* Other |
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. | UObject/ObjectPtr.h | |
std::common_type_t< const T *, U > ObjectPtr_Private::CoerceToPointer
(
const U& Other |
Coerce to pointer through implicit conversion to CommonPointerType where CommonPointerType is deduced, and must be a C++ pointer, not a wrapper type. | UObject/ObjectPtr.h | |
decltype(Other.Get()) ObjectPtr_Private::CoerceToPointer
(
const U& Other |
Coerce to pointer through the use of a ".Get()" member, which is the convention within Unreal smart pointer types. | UObject/ObjectPtr.h |
ObjectPtr_Private::CoerceToPointer(const T *)
Description
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.
| Name | ObjectPtr_Private::CoerceToPointer |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectPtr.h |
| Include Path | #include "UObject/ObjectPtr.h" |
namespace ObjectPtr_Private
{
template<typename T>
const T * ObjectPtr_Private::CoerceToPointer
(
const T * Other
)
}
ObjectPtr_Private::CoerceToPointer(const U &)
Description
Coerce to pointer through implicit conversion to CommonPointerType where CommonPointerType is deduced, and must be a C++ pointer, not a wrapper type.
| Name | ObjectPtr_Private::CoerceToPointer |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectPtr.h |
| Include Path | #include "UObject/ObjectPtr.h" |
namespace ObjectPtr_Private
{
template<typename T, typename U, std::enable_if_t<(std::is_pointer_v< std::common_type_t< const T *, U > >), int >>
std::common_type_t< const T *, U > ObjectPtr_Private::CoerceToPointer
(
const U & Other
)
}
ObjectPtr_Private::CoerceToPointer(const U &)
Description
Coerce to pointer through the use of a ".Get()" member, which is the convention within Unreal smart pointer types.
| Name | ObjectPtr_Private::CoerceToPointer |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectPtr.h |
| Include Path | #include "UObject/ObjectPtr.h" |
namespace ObjectPtr_Private
{
template<typename T, typename U, std::enable_if_t<(!TIsTObjectPtr_V< U >), int >>
decltype(Other.Get()) ObjectPtr_Private::CoerceToPointer
(
const U & Other
)
}