Navigation
API > API/Plugins > API/Plugins/ControlFlows
References
| Module | ControlFlows |
| Header | /Engine/Plugins/Experimental/ControlFlows/Source/ControlFlows/Public/SmartPtr.h |
| Include | #include "SmartPtr.h" |
Syntax
template<typename T>
class TSmartPtr
Remarks
A container to hold one of the FOUR Smart Pointer types: TStrongObjectPtr, TWeakObjectPtr, TSharedPtr, or TWeakPtr. During construction, there will be a compile time attempt to static_cast a raw pointer 'From' to 'T' 'From' must derive from 'UObject' xOr 'TSharedFromThis' for this class to be usable
Constructors
| Type | Name | Description | |
|---|---|---|---|
TSmartPtr () |
|||
TSmartPtr
(
From* InObject |
|||
TSmartPtr
(
From* InObject, |