Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TNonNullPtr
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TNonNullPtr & operator=
(
TYPE_OF_NULLPTR |
Assignment operator taking a nullptr - not allowed. | Templates/NonNullPointer.h | |
TNonNullPtr & operator=
(
ObjectType* InObject |
Assignment operator taking a pointer | Templates/NonNullPointer.h | |
TNonNullPtr & operator=
(
const TNonNullPtr< OtherObjectType >& Other |
Assignment operator taking another TNonNullPtr | Templates/NonNullPointer.h |
operator=(TYPE_OF_NULLPTR)
Description
Assignment operator taking a nullptr - not allowed.
| Name | operator= |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/NonNullPointer.h |
| Include Path | #include "Templates/NonNullPointer.h" |
TNonNullPtr & operator=
(
TYPE_OF_NULLPTR
)
operator=(ObjectType *)
Description
Assignment operator taking a pointer
| Name | operator= |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/NonNullPointer.h |
| Include Path | #include "Templates/NonNullPointer.h" |
TNonNullPtr & operator=
(
ObjectType * InObject
)
operator=(const TNonNullPtr< OtherObjectType > &)
Description
Assignment operator taking another TNonNullPtr
| Name | operator= |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/NonNullPointer.h |
| Include Path | #include "Templates/NonNullPointer.h" |
template<typename OtherObjectType, std::enable_if_t<(std::is_convertible_v< OtherObjectType *, ObjectType * >), int >>
TNonNullPtr & operator=
(
const TNonNullPtr < OtherObjectType > & Other
)