![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <NonNullPointer.h>
Public Types | |
| using | IntrusiveUnsetOptionalStateType = TNonNullPtr |
Static Public Attributes | |
| static constexpr bool | bHasIntrusiveUnsetOptionalState = true |
Friends | |
| template<typename OtherObjectType UE_REQUIRES> | |
| UE_FORCEINLINE_HINT friend bool | operator== (OtherObjectType *Lhs, const TNonNullPtr &Rhs) |
| template<typename OtherObjectType UE_REQUIRES> | |
| UE_FORCEINLINE_HINT friend bool | operator!= (OtherObjectType *Lhs, const TNonNullPtr &Rhs) |
| UE_FORCEINLINE_HINT uint32 | GetTypeHash (const TNonNullPtr &InPtr) |
TNonNullPtr is a non-nullable, non-owning, raw/naked/unsafe pointer.
| using TNonNullPtr< ObjectType >::IntrusiveUnsetOptionalStateType = TNonNullPtr |
|
inline |
Hack that can be used under extraordinary circumstances
|
inline |
nullptr constructor - not allowed.
|
inline |
Constructs a non-null pointer from the provided pointer. Must not be nullptr.
|
inline |
Constructs a non-null pointer from another non-null pointer
|
inlineexplicit |
|
inline |
Returns the internal pointer
|
inline |
|
explicitdelete |
Use IsInitialized if needed
|
inline |
Returns the internal pointer
|
inline |
|
inline |
|
inline |
Dereference operator returns a reference to the object this pointer points to
|
inline |
Arrow operator returns a pointer to this pointer's object
|
inline |
Assignment operator taking another TNonNullPtr
|
inline |
Assignment operator taking a pointer
|
inline |
Assignment operator taking a nullptr - not allowed.
|
inline |
Comparison, will also handle default constructed state
|
inline |
|
inline |
Comparison with a raw pointer
|
friend |
|
friend |
|
friend |
|
staticconstexpr |