TObjectPtr::TObjectPtr

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

template<typename U, std::enable_if_t< !TIsTObjectPtr< std::decay_t< U >>::Value, decltype(ImplicitConv< T * >(std::declval< U >())) > *>
TObjectPtr
(
    U && Object
)