TNonNullPtr::TNonNullPtr

Constructs a non-null pointer from the provided pointer. Must not be nullptr.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/NonNullPointer.h

Include

#include "Templates/NonNullPointer.h"

Syntax

template<typename OtherObjectType, typename>
TNonNullPtr
(
    OtherObjectType * InObject
)

Remarks

Constructs a non-null pointer from the provided pointer. Must not be nullptr.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss