Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TNonNullPtr
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Hack that can be used under extraordinary circumstances | Templates/NonNullPointer.h | ||
TNonNullPtr
(
TYPE_OF_NULLPTR |
Nullptr constructor - not allowed. | Templates/NonNullPointer.h | |
TNonNullPtr
(
ObjectType* InObject |
Constructs a non-null pointer from the provided pointer. Must not be nullptr. | Templates/NonNullPointer.h | |
TNonNullPtr
(
const TNonNullPtr< OtherObjectType >& Other |
Constructs a non-null pointer from another non-null pointer | Templates/NonNullPointer.h | |
| Templates/NonNullPointer.h |
TNonNullPtr(EDefaultConstructNonNullPtr)
Description
Hack that can be used under extraordinary circumstances
| Name | TNonNullPtr |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/NonNullPointer.h |
| Include Path | #include "Templates/NonNullPointer.h" |
TNonNullPtr
(
EDefaultConstructNonNullPtr
)
TNonNullPtr(TYPE_OF_NULLPTR)
Description
Nullptr constructor - not allowed.
| Name | TNonNullPtr |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/NonNullPointer.h |
| Include Path | #include "Templates/NonNullPointer.h" |
TNonNullPtr
(
TYPE_OF_NULLPTR
)
TNonNullPtr(ObjectType *)
Description
Constructs a non-null pointer from the provided pointer. Must not be nullptr.
| Name | TNonNullPtr |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/NonNullPointer.h |
| Include Path | #include "Templates/NonNullPointer.h" |
TNonNullPtr
(
ObjectType * InObject
)
TNonNullPtr(const TNonNullPtr< OtherObjectType > &)
Description
Constructs a non-null pointer from another non-null pointer
| Name | TNonNullPtr |
| 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
(
const TNonNullPtr < OtherObjectType > & Other
)
TNonNullPtr(FIntrusiveUnsetOptionalState)
| Name | TNonNullPtr |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/NonNullPointer.h |
| Include Path | #include "Templates/NonNullPointer.h" |
TNonNullPtr
(
FIntrusiveUnsetOptionalState
)